Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") translateModel(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.313/0.313, allocations: 54.42 MB / 61.89 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001315/0.001315, allocations: 180.1 kB / 75.61 MB, free: 0.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.604/1.604, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001888/0.001889, allocations: 109.9 kB / 341.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.386e-05, allocations: 8 kB / 405.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4128, allocations: 57.65 MB / 463.1 MB, free: 51.73 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7113/1.124, allocations: 319.6 MB / 0.7644 GB, free: 21.54 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/1.125, allocations: 80.14 kB / 0.7645 GB, free: 21.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7305/1.855, allocations: 190.7 MB / 0.9507 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.382e-06/1.855, allocations: 0 / 0.9507 GB, free: 76.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.768e-05/1.855, allocations: 24 kB / 0.9507 GB, free: 76.73 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002563/1.858, allocations: 1.093 MB / 0.9518 GB, free: 75.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.858, allocations: 8.031 kB / 0.9518 GB, free: 75.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/1.861, allocations: 0.514 MB / 0.9523 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/1.863, allocations: 0.6775 MB / 0.9529 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/1.863, allocations: 27.92 kB / 0.953 GB, free: 74.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/1.863, allocations: 36 kB / 0.953 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001106/1.864, allocations: 0.5532 MB / 0.9535 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/1.865, allocations: 0.8336 MB / 0.9544 GB, free: 72.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/1.865, allocations: 11.94 kB / 0.9544 GB, free: 72.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/1.866, allocations: 4 kB / 0.9544 GB, free: 72.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/1.866, allocations: 23.98 kB / 0.9544 GB, free: 72.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005029/1.871, allocations: 4.792 MB / 0.9591 GB, free: 67.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/1.871, allocations: 426.6 kB / 0.9595 GB, free: 67.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/1.872, allocations: 261 kB / 0.9597 GB, free: 67.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/1.872, allocations: 0.8313 MB / 0.9605 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006495/1.873, allocations: 482.8 kB / 0.961 GB, free: 65.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 3.277e-06/1.873, allocations: 0 / 0.961 GB, free: 65.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.003611/1.877, allocations: 0.9628 MB / 0.9619 GB, free: 64.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/1.877, allocations: 354.4 kB / 0.9623 GB, free: 64.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/1.878, allocations: 0.4957 MB / 0.9628 GB, free: 63.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/1.878, allocations: 29.7 kB / 0.9628 GB, free: 63.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/1.878, allocations: 446.8 kB / 0.9632 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/1.878, allocations: 134 kB / 0.9633 GB, free: 63.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/1.878, allocations: 0 / 0.9633 GB, free: 63.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.878, allocations: 390.7 kB / 0.9637 GB, free: 62.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/1.879, allocations: 253.3 kB / 0.964 GB, free: 62.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/1.879, allocations: 0.5293 MB / 0.9645 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/1.882, allocations: 0.6653 MB / 0.9651 GB, free: 61.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/1.882, allocations: 0 / 0.9651 GB, free: 61.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003352/1.885, allocations: 1.164 MB / 0.9663 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/1.885, allocations: 105.1 kB / 0.9664 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.885, allocations: 8 kB / 0.9664 GB, free: 59.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/1.885, allocations: 12 kB / 0.9664 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009544/1.886, allocations: 211.7 kB / 0.9666 GB, free: 59.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.886, allocations: 19.92 kB / 0.9666 GB, free: 59.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.888, allocations: 175.1 kB / 0.9668 GB, free: 59.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.888, allocations: 51.92 kB / 0.9668 GB, free: 59.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * 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.0003052/1.888, allocations: 239.6 kB / 0.9671 GB, free: 59.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/1.888, allocations: 75.16 kB / 0.9671 GB, free: 58.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/1.891, allocations: 1.179 MB / 0.9683 GB, free: 57.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.891, allocations: 7.984 kB / 0.9683 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/1.891, allocations: 0 / 0.9683 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.891, allocations: 3.984 kB / 0.9683 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/1.892, allocations: 0.6774 MB / 0.9689 GB, free: 57.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.892, allocations: 4 kB / 0.969 GB, free: 57.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/1.893, allocations: 131.9 kB / 0.9691 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/1.893, allocations: 7.938 kB / 0.9691 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/1.893, allocations: 23.97 kB / 0.9691 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/1.893, allocations: 4 kB / 0.9691 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.893, allocations: 0 / 0.9691 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/1.894, allocations: 0.8035 MB / 0.9699 GB, free: 56.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/1.895, allocations: 183.8 kB / 0.9701 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/1.895, allocations: 12 kB / 0.9701 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009229/1.896, allocations: 111.9 kB / 0.9702 GB, free: 55.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.896, allocations: 35.95 kB / 0.9702 GB, free: 55.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/1.896, allocations: 27.98 kB / 0.9703 GB, free: 55.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005721/1.897, allocations: 455 kB / 0.9707 GB, free: 55.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.31e-07/1.897, allocations: 0 / 0.9707 GB, free: 55.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001382/1.898, allocations: 363.4 kB / 0.971 GB, free: 54.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * 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.00132/1.899, allocations: 490 kB / 0.9715 GB, free: 54.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00117/1.901, allocations: 0.8845 MB / 0.9724 GB, free: 53.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.901, allocations: 4 kB / 0.9724 GB, free: 53.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004809/1.901, allocations: 0.5459 MB / 0.9729 GB, free: 52.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/1.902, allocations: 193.4 kB / 0.9731 GB, free: 52.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/1.904, allocations: 1.032 MB / 0.9741 GB, free: 51.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/1.905, allocations: 0.9974 MB / 0.9751 GB, free: 50.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007699/1.906, allocations: 164.7 kB / 0.9752 GB, free: 50.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/1.906, allocations: 75.38 kB / 0.9753 GB, free: 50.39 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/1.906, allocations: 7.938 kB / 0.9753 GB, free: 50.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.0202/1.926, allocations: 13.46 MB / 0.9884 GB, free: 36.94 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe 2>&1)