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.001762/0.001762, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7874/0.7874, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.677/1.677, allocations: 221.3 MB / 400.4 MB, free: 5.824 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.001316/0.001316, allocations: 91.47 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.196e-05/6.262e-05, allocations: 3.219 kB / 0.56 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2257, allocations: 82.3 MB / 0.6404 GB, free: 7.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.661/6.886, allocations: 2.118 GB / 2.758 GB, free: 37.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/6.887, allocations: 80.58 kB / 2.758 GB, free: 37.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.816/9.703, allocations: 0.6601 GB / 3.418 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/9.703, allocations: 0 / 3.418 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001735/9.703, allocations: 38.45 kB / 3.418 GB, free: 101.5 MB / 0.6823 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.005453/9.708, allocations: 1.482 MB / 3.42 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/9.708, allocations: 7.188 kB / 3.42 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/9.711, allocations: 0.5399 MB / 3.42 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02905/9.741, allocations: 13.16 MB / 3.433 GB, free: 100 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001233/9.742, allocations: 318.7 kB / 3.433 GB, free: 100 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000411/9.742, allocations: 65.69 kB / 3.434 GB, free: 100 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/9.745, allocations: 0.9807 MB / 3.434 GB, free: 99.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/9.745, allocations: 3.469 kB / 3.434 GB, free: 99.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/9.745, allocations: 34.72 kB / 3.435 GB, free: 99.88 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/9.745, allocations: 39.77 kB / 3.435 GB, free: 99.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/9.747, allocations: 0.7878 MB / 3.435 GB, free: 99.87 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007633/9.754, allocations: 3.315 MB / 3.439 GB, free: 98.99 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/9.756, allocations: 0.5758 MB / 3.439 GB, free: 98.97 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/9.756, allocations: 362.8 kB / 3.439 GB, free: 98.96 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009205/9.757, allocations: 1.036 MB / 3.44 GB, free: 97.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008118/9.758, allocations: 484.8 kB / 3.441 GB, free: 97.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 3.967e-06/9.758, allocations: 0 / 3.441 GB, free: 97.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.002111/9.76, allocations: 0.8447 MB / 3.442 GB, free: 97.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/9.76, allocations: 136.7 kB / 3.442 GB, free: 97.44 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/9.762, allocations: 0.948 MB / 3.443 GB, free: 97.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/9.762, allocations: 43.39 kB / 3.443 GB, free: 97.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/9.763, allocations: 445.9 kB / 3.443 GB, free: 97.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/9.763, allocations: 184.4 kB / 3.443 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/9.763, allocations: 9.406 kB / 3.443 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/9.763, allocations: 333.2 kB / 3.444 GB, free: 96.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/9.763, allocations: 320.4 kB / 3.444 GB, free: 96.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/9.764, allocations: 0.5151 MB / 3.445 GB, free: 96.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006133/9.765, allocations: 380.3 kB / 3.445 GB, free: 96.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/9.765, allocations: 1.688 kB / 3.445 GB, free: 96.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001779/9.767, allocations: 0.9604 MB / 3.446 GB, free: 96.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/9.767, allocations: 39.41 kB / 3.446 GB, free: 96.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/9.767, allocations: 6.516 kB / 3.446 GB, free: 96.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/9.767, allocations: 10.02 kB / 3.446 GB, free: 96.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/9.768, allocations: 220.9 kB / 3.446 GB, free: 96.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/9.768, allocations: 5.906 kB / 3.446 GB, free: 96.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/9.77, allocations: 316.2 kB / 3.446 GB, free: 96.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/9.77, allocations: 51.22 kB / 3.447 GB, free: 96.26 MB / 0.6823 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 () * 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.0002667/9.77, allocations: 181.6 kB / 3.447 GB, free: 96.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/9.77, allocations: 112.8 kB / 3.447 GB, free: 96.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/9.772, allocations: 0.9396 MB / 3.448 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/9.772, allocations: 7.5 kB / 3.448 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/9.772, allocations: 2.156 kB / 3.448 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/9.772, allocations: 6.406 kB / 3.448 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004698/9.777, allocations: 3.139 MB / 3.451 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/9.777, allocations: 10.66 kB / 3.451 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/9.778, allocations: 130.5 kB / 3.451 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-05/9.778, allocations: 15.64 kB / 3.451 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/9.778, allocations: 25.47 kB / 3.451 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-05/9.778, allocations: 20.75 kB / 3.451 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/9.778, allocations: 8.938 kB / 3.451 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/9.78, allocations: 1.674 MB / 3.453 GB, free: 94.13 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/9.781, allocations: 341.4 kB / 3.453 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004519/9.782, allocations: 23.31 kB / 3.453 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/9.783, allocations: 131 kB / 3.453 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/9.784, allocations: 65.41 kB / 3.453 GB, free: 93.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/9.784, allocations: 45.94 kB / 3.453 GB, free: 93.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001659/9.785, allocations: 0.742 MB / 3.454 GB, free: 93.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.503e-06/9.785, allocations: 0 / 3.454 GB, free: 93.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002568/9.788, allocations: 435.1 kB / 3.454 GB, free: 93.81 MB / 0.6823 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) * 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.003244/9.791, allocations: 1.597 MB / 3.456 GB, free: 93.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001568/9.793, allocations: 0.8439 MB / 3.457 GB, free: 93.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/9.793, allocations: 3.938 kB / 3.457 GB, free: 93.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006891/9.793, allocations: 476.2 kB / 3.457 GB, free: 93.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/9.797, allocations: 0.529 MB / 3.458 GB, free: 93.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/9.8, allocations: 1.566 MB / 3.459 GB, free: 92.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/9.801, allocations: 1.092 MB / 3.46 GB, free: 91.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001433/9.802, allocations: 287.5 kB / 3.461 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/9.803, allocations: 78.34 kB / 3.461 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.683e-06/9.803, allocations: 0 / 3.461 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of Templates: time 0.05807/9.861, allocations: 40.76 MB / 3.5 GB, free: 72.5 MB / 0.6823 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)