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.407/0.407, allocations: 55.02 MB / 69.96 MB, free: 8.727 MB / 58.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001557/0.001556, allocations: 183.4 kB / 83.98 MB, free: 10.9 MB / 74.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.509/1.509, allocations: 194.4 MB / 292.3 MB, free: 3.531 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001684/0.001684, allocations: 108.6 kB / 350.7 MB, free: 9.047 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 15.98 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 57.64 MB / 476.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9042/1.041, allocations: 320.3 MB / 0.7782 GB, free: 108.5 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/1.041, allocations: 84.27 kB / 0.7782 GB, free: 108.5 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.6679/1.709, allocations: 193 MB / 0.9667 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of FrontEnd: time 3.647e-06/1.709, allocations: 4 kB / 0.9668 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 7.059e-05/1.709, allocations: 22.73 kB / 0.9668 GB, free: 121.1 MB / 0.4949 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.002762/1.712, allocations: 1.208 MB / 0.968 GB, free: 119.9 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/1.712, allocations: 12.03 kB / 0.968 GB, free: 119.9 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/1.717, allocations: 0.5163 MB / 0.9685 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/1.719, allocations: 0.6771 MB / 0.9691 GB, free: 118.6 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/1.719, allocations: 43.27 kB / 0.9692 GB, free: 118.6 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/1.719, allocations: 60 kB / 0.9692 GB, free: 118.6 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/1.722, allocations: 1.092 MB / 0.9703 GB, free: 117.4 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/1.722, allocations: 7.938 kB / 0.9703 GB, free: 117.3 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/1.722, allocations: 38.66 kB / 0.9703 GB, free: 117.3 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/1.722, allocations: 19.98 kB / 0.9704 GB, free: 117.3 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003505/1.726, allocations: 0.9624 MB / 0.9713 GB, free: 116.3 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007052/1.733, allocations: 4.945 MB / 0.9761 GB, free: 111.2 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/1.735, allocations: 0.7368 MB / 0.9768 GB, free: 110.4 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/1.736, allocations: 0.8273 MB / 0.9777 GB, free: 109.4 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001794/1.738, allocations: 0.6538 MB / 0.9783 GB, free: 108.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=46): time 3.397e-06/1.738, allocations: 3.938 kB / 0.9783 GB, free: 108.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=46): time 0.005391/1.743, allocations: 1.67 MB / 0.9799 GB, free: 107 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/1.744, allocations: 350.6 kB / 0.9803 GB, free: 106.5 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.745, allocations: 0.6445 MB / 0.9809 GB, free: 105.9 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 9.927e-05/1.745, allocations: 33.7 kB / 0.9809 GB, free: 105.8 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/1.745, allocations: 438.9 kB / 0.9813 GB, free: 105.4 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/1.745, allocations: 140 kB / 0.9815 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/1.746, allocations: 16 kB / 0.9815 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.746, allocations: 326 kB / 0.9818 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/1.748, allocations: 445.2 kB / 0.9822 GB, free: 104.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/1.749, allocations: 0.7088 MB / 0.9829 GB, free: 103.7 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/1.751, allocations: 0.5573 MB / 0.9835 GB, free: 103.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.751, allocations: 4 kB / 0.9835 GB, free: 103.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004885/1.756, allocations: 1.296 MB / 0.9847 GB, free: 101.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 8.819e-05/1.756, allocations: 105.1 kB / 0.9848 GB, free: 101.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/1.756, allocations: 11.95 kB / 0.9848 GB, free: 101.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-05/1.756, allocations: 15.94 kB / 0.9849 GB, free: 101.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.758, allocations: 220.2 kB / 0.9851 GB, free: 101.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/1.758, allocations: 11.94 kB / 0.9851 GB, free: 101.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/1.76, allocations: 205.6 kB / 0.9853 GB, free: 101.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/1.76, allocations: 51.97 kB / 0.9853 GB, free: 101.2 MB / 0.4949 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 () * Number of clocked 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.0006822/1.761, allocations: 348 kB / 0.9857 GB, free: 100.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/1.761, allocations: 90.97 kB / 0.9857 GB, free: 100.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/1.766, allocations: 1.586 MB / 0.9873 GB, free: 99.09 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/1.766, allocations: 7.984 kB / 0.9873 GB, free: 99.09 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.766, allocations: 0 / 0.9873 GB, free: 99.09 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.766, allocations: 11.89 kB / 0.9873 GB, free: 99.07 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/1.767, allocations: 0.7556 MB / 0.9881 GB, free: 98.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.767, allocations: 0 / 0.9881 GB, free: 98.28 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.768, allocations: 131.9 kB / 0.9882 GB, free: 98.15 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/1.768, allocations: 0 / 0.9882 GB, free: 98.15 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/1.768, allocations: 27.98 kB / 0.9882 GB, free: 98.12 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/1.768, allocations: 3.953 kB / 0.9882 GB, free: 98.12 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.768, allocations: 7.938 kB / 0.9882 GB, free: 98.11 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/1.772, allocations: 1.218 MB / 0.9894 GB, free: 96.86 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/1.773, allocations: 183.8 kB / 0.9896 GB, free: 96.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/1.773, allocations: 20 kB / 0.9896 GB, free: 96.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.774, allocations: 122.4 kB / 0.9897 GB, free: 96.52 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.774, allocations: 31.95 kB / 0.9897 GB, free: 96.49 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.775, allocations: 31.98 kB / 0.9898 GB, free: 96.46 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001072/1.776, allocations: 0.5576 MB / 0.9903 GB, free: 95.91 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.8e-07/1.776, allocations: 4 kB / 0.9903 GB, free: 95.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001908/1.778, allocations: 375.5 kB / 0.9907 GB, free: 95.54 MB / 0.4949 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) * Number of clocked states: 0 () * 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.001324/1.779, allocations: 0.4944 MB / 0.9912 GB, free: 95.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.004334/1.783, allocations: 1.262 MB / 0.9924 GB, free: 93.8 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.783, allocations: 0 / 0.9924 GB, free: 93.8 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/1.785, allocations: 0.7224 MB / 0.9931 GB, free: 93.05 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/1.788, allocations: 283 kB / 0.9934 GB, free: 92.78 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/1.793, allocations: 1.847 MB / 0.9952 GB, free: 90.91 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/1.793, allocations: 1.002 MB / 0.9962 GB, free: 89.88 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001376/1.795, allocations: 189.3 kB / 0.9963 GB, free: 89.7 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/1.795, allocations: 87.31 kB / 0.9964 GB, free: 89.62 MB / 0.4949 GB Notification: Performance of SimCode: time 1.633e-06/1.795, allocations: 0 / 0.9964 GB, free: 89.62 MB / 0.4949 GB Notification: Performance of Templates: time 0.03918/1.834, allocations: 16.98 MB / 1.013 GB, free: 72.79 MB / 0.4949 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)