Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006032/0.006032, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7453/0.7453, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.597/1.597, allocations: 223.2 MB / 406.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 97.22 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.000394, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5119, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.911/5.423, allocations: 2.118 GB / 2.767 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/5.423, allocations: 87.95 kB / 2.767 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.223/7.646, allocations: 0.6612 GB / 3.429 GB, free: 120.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/7.646, allocations: 0 / 3.429 GB, free: 120.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001096/7.646, allocations: 34.41 kB / 3.429 GB, free: 120.8 MB / 0.698 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.004986/7.651, allocations: 1.641 MB / 3.43 GB, free: 120.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/7.651, allocations: 16.55 kB / 3.43 GB, free: 120.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/7.654, allocations: 0.5339 MB / 3.431 GB, free: 120.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0261/7.68, allocations: 13.22 MB / 3.444 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001396/7.682, allocations: 313.1 kB / 3.444 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/7.682, allocations: 68.94 kB / 3.444 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/7.685, allocations: 1.175 MB / 3.445 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/7.685, allocations: 1.062 kB / 3.445 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/7.685, allocations: 29.52 kB / 3.445 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/7.685, allocations: 33.08 kB / 3.445 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/7.688, allocations: 1.164 MB / 3.446 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006661/7.694, allocations: 3.33 MB / 3.45 GB, free: 118.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/7.696, allocations: 0.6927 MB / 3.45 GB, free: 118.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/7.697, allocations: 1.025 MB / 3.451 GB, free: 117.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009445/7.697, allocations: 0.5482 MB / 3.452 GB, free: 117.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/7.697, allocations: 0 / 3.452 GB, free: 117.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.003112/7.701, allocations: 1.367 MB / 3.453 GB, free: 117.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/7.701, allocations: 135.7 kB / 3.453 GB, free: 116.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/7.703, allocations: 1.093 MB / 3.454 GB, free: 116.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/7.703, allocations: 38.73 kB / 3.454 GB, free: 116.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/7.703, allocations: 446.2 kB / 3.455 GB, free: 116.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/7.703, allocations: 186.5 kB / 3.455 GB, free: 116.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/7.703, allocations: 14.94 kB / 3.455 GB, free: 116.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/7.703, allocations: 326.2 kB / 3.455 GB, free: 116.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/7.705, allocations: 0.4933 MB / 3.456 GB, free: 116.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/7.706, allocations: 0.6946 MB / 3.456 GB, free: 116 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/7.707, allocations: 0.5573 MB / 3.457 GB, free: 116 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/7.707, allocations: 3.906 kB / 3.457 GB, free: 116 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003094/7.71, allocations: 1.331 MB / 3.458 GB, free: 115.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/7.71, allocations: 41.28 kB / 3.458 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/7.71, allocations: 0 / 3.458 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/7.71, allocations: 6.75 kB / 3.458 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009392/7.711, allocations: 220.3 kB / 3.459 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/7.711, allocations: 9.188 kB / 3.459 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/7.713, allocations: 312 kB / 3.459 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/7.713, allocations: 44.84 kB / 3.459 GB, free: 115.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000611/7.714, allocations: 330.6 kB / 3.459 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/7.714, allocations: 123.3 kB / 3.459 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/7.716, allocations: 1.057 MB / 3.46 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/7.716, allocations: 7.562 kB / 3.46 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/7.716, allocations: 0 / 3.46 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/7.716, allocations: 6.75 kB / 3.46 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/7.723, allocations: 3.252 MB / 3.464 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/7.723, allocations: 7.156 kB / 3.464 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009265/7.724, allocations: 128.9 kB / 3.464 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.896e-05/7.724, allocations: 11.03 kB / 3.464 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.645e-05/7.724, allocations: 28.38 kB / 3.464 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/7.724, allocations: 14.34 kB / 3.464 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/7.724, allocations: 10.59 kB / 3.464 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/7.728, allocations: 1.8 MB / 3.465 GB, free: 113.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/7.729, allocations: 340 kB / 3.466 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/7.729, allocations: 24.34 kB / 3.466 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/7.731, allocations: 133.9 kB / 3.466 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/7.731, allocations: 56.27 kB / 3.466 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/7.731, allocations: 46.42 kB / 3.466 GB, free: 113.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002339/7.733, allocations: 0.8791 MB / 3.467 GB, free: 113.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/7.733, allocations: 0 / 3.467 GB, free: 113.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002613/7.736, allocations: 434.8 kB / 3.467 GB, free: 113.4 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003281/7.739, allocations: 1.596 MB / 3.469 GB, free: 113 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003806/7.743, allocations: 1.079 MB / 3.47 GB, free: 112.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/7.743, allocations: 0 / 3.47 GB, free: 112.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/7.745, allocations: 0.5291 MB / 3.47 GB, free: 112.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/7.749, allocations: 0.5284 MB / 3.471 GB, free: 112.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/7.754, allocations: 2.258 MB / 3.473 GB, free: 111.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/7.755, allocations: 1.089 MB / 3.474 GB, free: 111.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002113/7.757, allocations: 286.5 kB / 3.475 GB, free: 111.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/7.758, allocations: 87.36 kB / 3.475 GB, free: 111.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/7.758, allocations: 0 / 3.475 GB, free: 111.1 MB / 0.698 GB Notification: Performance of Templates: time 0.08039/7.838, allocations: 37.1 MB / 3.511 GB, free: 109.8 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)