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.2966/0.2966, allocations: 54.33 MB / 66.89 MB, free: 6.098 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.001179/0.001179, allocations: 177.4 kB / 80.7 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.628/1.628, allocations: 194.2 MB / 288.6 MB, free: 15 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.001649/0.00165, allocations: 118.1 kB / 346.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.421e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9858/1.115, allocations: 320.2 MB / 0.7717 GB, free: 58.08 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/1.115, allocations: 86.2 kB / 0.7718 GB, free: 58.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6976/1.813, allocations: 192.4 MB / 0.9598 GB, free: 87.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.244e-06/1.813, allocations: 3.938 kB / 0.9598 GB, free: 87.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.094e-05/1.813, allocations: 20 kB / 0.9598 GB, free: 87.32 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.001597/1.815, allocations: 1.092 MB / 0.9608 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.815, allocations: 8.031 kB / 0.9608 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/1.817, allocations: 0.5179 MB / 0.9614 GB, free: 85.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/1.819, allocations: 0.6713 MB / 0.962 GB, free: 84.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/1.819, allocations: 45.31 kB / 0.9621 GB, free: 84.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-05/1.819, allocations: 59.98 kB / 0.9621 GB, free: 84.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/1.82, allocations: 0.9218 MB / 0.963 GB, free: 83.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.82, allocations: 0 / 0.963 GB, free: 83.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.67e-05/1.821, allocations: 28 kB / 0.963 GB, free: 83.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/1.821, allocations: 35.92 kB / 0.9631 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008955/1.821, allocations: 0.6209 MB / 0.9637 GB, free: 83.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004386/1.826, allocations: 4.93 MB / 0.9685 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/1.827, allocations: 447.6 kB / 0.9689 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/1.827, allocations: 265 kB / 0.9692 GB, free: 77.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005013/1.827, allocations: 0.8352 MB / 0.97 GB, free: 76.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/1.828, allocations: 495 kB / 0.9705 GB, free: 75.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 3.176e-06/1.828, allocations: 0 / 0.9705 GB, free: 75.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.001141/1.829, allocations: 0.7181 MB / 0.9712 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.829, allocations: 358.5 kB / 0.9715 GB, free: 74.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/1.83, allocations: 0.6368 MB / 0.9721 GB, free: 73.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/1.83, allocations: 37.7 kB / 0.9722 GB, free: 73.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/1.83, allocations: 439.4 kB / 0.9726 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.358e-05/1.83, allocations: 142.1 kB / 0.9727 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/1.83, allocations: 12 kB / 0.9727 GB, free: 73.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/1.83, allocations: 330 kB / 0.973 GB, free: 72.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/1.831, allocations: 273.3 kB / 0.9733 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/1.831, allocations: 0.5414 MB / 0.9738 GB, free: 71.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/1.832, allocations: 403.9 kB / 0.9742 GB, free: 71.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.832, allocations: 7.938 kB / 0.9742 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001241/1.833, allocations: 0.9622 MB / 0.9752 GB, free: 70.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/1.833, allocations: 105.1 kB / 0.9753 GB, free: 70.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.833, allocations: 8 kB / 0.9753 GB, free: 70.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/1.833, allocations: 12 kB / 0.9753 GB, free: 70.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009515/1.834, allocations: 212 kB / 0.9755 GB, free: 70.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.834, allocations: 19.89 kB / 0.9755 GB, free: 70.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.835, allocations: 218.8 kB / 0.9757 GB, free: 69.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.185e-05/1.835, allocations: 39.98 kB / 0.9757 GB, free: 69.91 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.0002206/1.836, allocations: 263.6 kB / 0.976 GB, free: 69.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/1.836, allocations: 86.97 kB / 0.9761 GB, free: 69.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/1.837, allocations: 1.253 MB / 0.9773 GB, free: 68.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/1.838, allocations: 7.984 kB / 0.9773 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.838, allocations: 0 / 0.9773 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.838, allocations: 0 / 0.9773 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008703/1.838, allocations: 0.7636 MB / 0.9781 GB, free: 67.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/1.838, allocations: 0 / 0.9781 GB, free: 67.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/1.839, allocations: 143.7 kB / 0.9782 GB, free: 67.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.839, allocations: 4 kB / 0.9782 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/1.839, allocations: 23.98 kB / 0.9782 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.839, allocations: 3.938 kB / 0.9782 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.839, allocations: 0 / 0.9782 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/1.84, allocations: 0.8901 MB / 0.9791 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/1.841, allocations: 187.8 kB / 0.9793 GB, free: 66.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/1.841, allocations: 19.98 kB / 0.9793 GB, free: 66.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008447/1.842, allocations: 119.9 kB / 0.9794 GB, free: 66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/1.842, allocations: 31.95 kB / 0.9794 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.237e-05/1.842, allocations: 31.98 kB / 0.9795 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005906/1.842, allocations: 0.5499 MB / 0.98 GB, free: 65.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.842, allocations: 4 kB / 0.98 GB, free: 65.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001174/1.844, allocations: 367.6 kB / 0.9804 GB, free: 65.03 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.0009112/1.844, allocations: 493 kB / 0.9808 GB, free: 64.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001099/1.846, allocations: 0.9332 MB / 0.9817 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.846, allocations: 0 / 0.9817 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005006/1.846, allocations: 0.5621 MB / 0.9823 GB, free: 62.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.847, allocations: 294.3 kB / 0.9826 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/1.849, allocations: 1.077 MB / 0.9836 GB, free: 61.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/1.85, allocations: 0.9976 MB / 0.9846 GB, free: 60.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007332/1.85, allocations: 177.8 kB / 0.9848 GB, free: 60.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/1.851, allocations: 91.31 kB / 0.9849 GB, free: 60.31 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/1.851, allocations: 0 / 0.9849 GB, free: 60.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.02523/1.876, allocations: 17.33 MB / 1.002 GB, free: 43.03 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)