Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7201/0.7201, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 403.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009821/0.0009821, allocations: 111.3 kB / 484.4 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009944/0.0009945, allocations: 55.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1485, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5131/0.6616, allocations: 191.6 MB / 0.8273 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.6724, allocations: 6.993 MB / 0.8341 GB, free: 12.54 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.6738, allocations: 39.69 kB / 0.8342 GB, free: 12.5 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.6755, allocations: 0.5632 MB / 0.8347 GB, free: 11.93 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00608/0.6816, allocations: 2.175 MB / 0.8369 GB, free: 9.75 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.6849, allocations: 1.286 MB / 0.8381 GB, free: 8.488 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004733/0.6896, allocations: 3.754 MB / 0.8418 GB, free: 4.727 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.6911, allocations: 0.7838 MB / 0.8425 GB, free: 3.938 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.6932, allocations: 0.9881 MB / 0.8435 GB, free: 2.945 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.6954, allocations: 0.8055 MB / 0.8443 GB, free: 2.141 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.6957, allocations: 48 kB / 0.8443 GB, free: 2.094 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.6998, allocations: 2.225 MB / 0.8465 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005296/0.7003, allocations: 326.7 kB / 0.8468 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009661/0.7013, allocations: 0.5245 MB / 0.8473 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004175/0.7055, allocations: 2.427 MB / 0.8497 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.7055, allocations: 3.938 kB / 0.8497 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7055, allocations: 0 / 0.8497 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.373e-05/0.7056, allocations: 0 / 0.8497 GB, free: 12.58 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004679/0.7103, allocations: 1.633 MB / 0.8513 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.7103, allocations: 12.03 kB / 0.8513 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.7135, allocations: 0.5332 MB / 0.8518 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.716, allocations: 0.9829 MB / 0.8528 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001216/0.7173, allocations: 285 kB / 0.8531 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.7175, allocations: 68 kB / 0.8531 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.7201, allocations: 1.124 MB / 0.8542 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.7202, allocations: 4 kB / 0.8542 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-05/0.7203, allocations: 27.98 kB / 0.8543 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.7203, allocations: 33.31 kB / 0.8543 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/0.7237, allocations: 1.2 MB / 0.8555 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006488/0.7302, allocations: 3.202 MB / 0.8586 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.732, allocations: 0.6958 MB / 0.8593 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.7329, allocations: 424 kB / 0.8597 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008569/0.7337, allocations: 1.021 MB / 0.8607 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.7348, allocations: 0.5182 MB / 0.8612 GB, free: 368 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=57): time 3.136e-06/0.7348, allocations: 4 kB / 0.8612 GB, free: 364 kB / 0.5886 GB Notification: Performance of matching and sorting (n=57): time 0.003028/0.7378, allocations: 1.213 MB / 0.8624 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.7379, allocations: 148.8 kB / 0.8625 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.7402, allocations: 1.2 MB / 0.8637 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.898e-05/0.7403, allocations: 37.7 kB / 0.8637 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/0.7407, allocations: 437.4 kB / 0.8641 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.7409, allocations: 189.4 kB / 0.8643 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.7413, allocations: 146 kB / 0.8645 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7414, allocations: 330 kB / 0.8648 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.7428, allocations: 456.9 kB / 0.8652 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.7444, allocations: 0.6171 MB / 0.8658 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.7466, allocations: 0.9457 MB / 0.8667 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.7466, allocations: 4 kB / 0.8667 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003374/0.75, allocations: 1.228 MB / 0.8679 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.75, allocations: 42.94 kB / 0.868 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7501, allocations: 4 kB / 0.868 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.7501, allocations: 7.938 kB / 0.868 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009797/0.7511, allocations: 200 kB / 0.8682 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.7511, allocations: 7.938 kB / 0.8682 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.7528, allocations: 274.8 kB / 0.8684 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.7529, allocations: 39.97 kB / 0.8685 GB, free: 8.676 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005084/0.7535, allocations: 323.9 kB / 0.8688 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.7537, allocations: 122.5 kB / 0.8689 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.7559, allocations: 0.9932 MB / 0.8699 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.756, allocations: 15.86 kB / 0.8699 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.756, allocations: 4 kB / 0.8699 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.756, allocations: 4 kB / 0.8699 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005036/0.761, allocations: 3.158 MB / 0.873 GB, free: 3.887 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.7611, allocations: 8 kB / 0.873 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.7617, allocations: 124 kB / 0.8731 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.7617, allocations: 8 kB / 0.8731 GB, free: 3.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.91e-05/0.7618, allocations: 27.98 kB / 0.8731 GB, free: 3.723 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/0.7618, allocations: 11.94 kB / 0.8732 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.7618, allocations: 11.94 kB / 0.8732 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003646/0.7655, allocations: 2.575 MB / 0.8757 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006114/0.7661, allocations: 327.4 kB / 0.876 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.7663, allocations: 31.92 kB / 0.876 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.7676, allocations: 111.9 kB / 0.8761 GB, free: 496 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.7678, allocations: 55.81 kB / 0.8762 GB, free: 440 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.512e-05/0.7679, allocations: 43.97 kB / 0.8762 GB, free: 396 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001889/0.7698, allocations: 0.8677 MB / 0.8771 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7698, allocations: 0 / 0.8771 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001252/0.771, allocations: 299.8 kB / 0.8774 GB, free: 15.22 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009038/0.7719, allocations: 347.8 kB / 0.8777 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002599/0.7746, allocations: 1.025 MB / 0.8787 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7746, allocations: 4.125 kB / 0.8787 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.7756, allocations: 0.5132 MB / 0.8792 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/0.7785, allocations: 0.537 MB / 0.8797 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.7826, allocations: 2.738 MB / 0.8824 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.7834, allocations: 1.089 MB / 0.8835 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001216/0.7846, allocations: 272 kB / 0.8837 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.7849, allocations: 83.41 kB / 0.8838 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of SimCode: time 2.324e-06/0.7849, allocations: 4 kB / 0.8838 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.03433/0.8192, allocations: 21.73 MB / 0.905 GB, free: 2.887 MB / 0.6355 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)