Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.0009736, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.389/0.389, allocations: 54.98 MB / 325.3 MB, free: 0.7344 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005266/0.0005266, allocations: 16 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3252, allocations: 60.72 MB / 457.3 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1731/0.4983, allocations: 161.9 MB / 0.6046 GB, free: 5.547 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00842/0.5068, allocations: 5.125 MB / 0.6096 GB, free: 428 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.5079, allocations: 31.75 kB / 0.6097 GB, free: 396 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.51, allocations: 0.6571 MB / 0.6103 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004815/0.5148, allocations: 1.375 MB / 0.6117 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.518, allocations: 1.009 MB / 0.6126 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003986/0.522, allocations: 2.075 MB / 0.6147 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.5234, allocations: 0.8529 MB / 0.6155 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.5264, allocations: 1.234 MB / 0.6167 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.5282, allocations: 0.7783 MB / 0.6175 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.5285, allocations: 60 kB / 0.6175 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.5304, allocations: 0.7879 MB / 0.6183 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000474/0.5309, allocations: 422.7 kB / 0.6187 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004148/0.5314, allocations: 341 kB / 0.619 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.5339, allocations: 2.067 MB / 0.621 GB, free: 4.738 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5339, allocations: 0 / 0.621 GB, free: 4.738 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5339, allocations: 4 kB / 0.6211 GB, free: 4.734 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.5339, allocations: 0 / 0.6211 GB, free: 4.734 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.004113/0.5381, allocations: 1.622 MB / 0.6226 GB, free: 3.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5381, allocations: 8.031 kB / 0.6226 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.5414, allocations: 0.62 MB / 0.6232 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.5437, allocations: 1.039 MB / 0.6243 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00129/0.545, allocations: 349.8 kB / 0.6246 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.5452, allocations: 100 kB / 0.6247 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003828/0.549, allocations: 1.74 MB / 0.6264 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.5491, allocations: 0 / 0.6264 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.5493, allocations: 51.91 kB / 0.6264 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/0.5493, allocations: 61.92 kB / 0.6265 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004225/0.5536, allocations: 1.67 MB / 0.6281 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009719/0.5633, allocations: 6.206 MB / 0.6342 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.565, allocations: 0.6568 MB / 0.6348 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.5651, allocations: 12.36 kB / 0.6348 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.5664, allocations: 0.749 MB / 0.6356 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=51): time 2.134e-06/0.5664, allocations: 0 / 0.6356 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51): time 0.002912/0.5693, allocations: 1.28 MB / 0.6368 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005217/0.5699, allocations: 0.931 MB / 0.6377 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.5725, allocations: 1.626 MB / 0.6393 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.5727, allocations: 37.7 kB / 0.6394 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006168/0.5733, allocations: 0.6399 MB / 0.64 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.5735, allocations: 177.5 kB / 0.6402 GB, free: 356 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.5735, allocations: 20 kB / 0.6402 GB, free: 336 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.18/0.7535, allocations: 337.9 kB / 0.6405 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.7551, allocations: 0.5337 MB / 0.641 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.7567, allocations: 1.061 MB / 0.6421 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.7581, allocations: 0.6588 MB / 0.6427 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.7581, allocations: 2.75 kB / 0.6427 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003382/0.7615, allocations: 1.58 MB / 0.6442 GB, free: 157.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.7616, allocations: 44.62 kB / 0.6443 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.7616, allocations: 10.28 kB / 0.6443 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.7616, allocations: 15.12 kB / 0.6443 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.7628, allocations: 282.7 kB / 0.6446 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.7628, allocations: 21.94 kB / 0.6446 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.7649, allocations: 391.1 kB / 0.645 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/0.765, allocations: 53.66 kB / 0.645 GB, free: 157.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (105): * Single equations (assignments): 104 * 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.0005656/0.7656, allocations: 414.1 kB / 0.6454 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.7658, allocations: 152.4 kB / 0.6456 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.766, allocations: 146.3 kB / 0.6457 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.766, allocations: 7.281 kB / 0.6457 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.766, allocations: 0 / 0.6457 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.7661, allocations: 5.312 kB / 0.6457 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/0.7699, allocations: 3.33 MB / 0.649 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.7699, allocations: 9.328 kB / 0.649 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.7705, allocations: 118.9 kB / 0.6491 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.7705, allocations: 14.83 kB / 0.6491 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.7706, allocations: 26.58 kB / 0.6491 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.7706, allocations: 17.42 kB / 0.6491 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.7706, allocations: 13.88 kB / 0.6492 GB, free: 156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.7724, allocations: 1.656 MB / 0.6508 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/0.7731, allocations: 395.6 kB / 0.6512 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.7734, allocations: 26.42 kB / 0.6512 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.7747, allocations: 142.3 kB / 0.6513 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.7749, allocations: 48.81 kB / 0.6514 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.7749, allocations: 32.55 kB / 0.6514 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001823/0.7768, allocations: 1.152 MB / 0.6525 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7768, allocations: 0.6562 kB / 0.6525 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001291/0.7781, allocations: 378.8 kB / 0.6529 GB, free: 154.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (46): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.0005059/0.7786, allocations: 230.1 kB / 0.6531 GB, free: 154 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.781, allocations: 1.171 MB / 0.6542 GB, free: 153.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.781, allocations: 9.625 kB / 0.6542 GB, free: 153.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.7818, allocations: 487.9 kB / 0.6547 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/0.7849, allocations: 0.765 MB / 0.6555 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.788, allocations: 2.594 MB / 0.658 GB, free: 151.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.7885, allocations: 1.183 MB / 0.6592 GB, free: 150.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001412/0.7899, allocations: 349.5 kB / 0.6595 GB, free: 150.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.7901, allocations: 103 kB / 0.6596 GB, free: 150.8 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.7902, allocations: 0 / 0.6596 GB, free: 150.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.04543/0.8356, allocations: 28.42 MB / 0.6873 GB, free: 143.4 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) Environment - environmentSimulation: