Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 178.3 kB / 7.462 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5979/0.5979, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.169/1.169, allocations: 221.3 MB / 395 MB, free: 10.17 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.0009676/0.0009676, allocations: 95.05 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.176e-06/8.266e-06, allocations: 2.625 kB / 0.5528 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.861/2.989, allocations: 1.836 GB / 2.469 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/2.989, allocations: 87.61 kB / 2.469 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.846/4.835, allocations: 0.6856 GB / 3.155 GB, free: 116 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001187/4.835, allocations: 47.72 kB / 3.155 GB, free: 116 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006354/4.841, allocations: 1.906 MB / 3.157 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/4.841, allocations: 7.812 kB / 3.157 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/4.846, allocations: 0.9735 MB / 3.158 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/4.849, allocations: 1.169 MB / 3.159 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/4.849, allocations: 27.28 kB / 3.159 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/4.85, allocations: 63.7 kB / 3.159 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/4.851, allocations: 1.02 MB / 3.16 GB, free: 115 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/4.853, allocations: 1.182 MB / 3.161 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/4.853, allocations: 0 / 3.161 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-05/4.853, allocations: 0 / 3.161 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/4.853, allocations: 44.8 kB / 3.161 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006637/4.859, allocations: 4.884 MB / 3.166 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/4.861, allocations: 1.042 MB / 3.167 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/4.861, allocations: 0.5885 MB / 3.168 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009409/4.862, allocations: 0.9514 MB / 3.169 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007955/4.863, allocations: 0.6859 MB / 3.169 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 2.104e-06/4.863, allocations: 0 / 3.169 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.00251/4.866, allocations: 1.326 MB / 3.17 GB, free: 112 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/4.866, allocations: 59.72 kB / 3.171 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000728/4.866, allocations: 0.8252 MB / 3.171 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/4.866, allocations: 33.23 kB / 3.171 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/4.867, allocations: 374.2 kB / 3.172 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/4.867, allocations: 313.8 kB / 3.172 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/4.867, allocations: 0 / 3.172 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.355e-05/4.867, allocations: 339.2 kB / 3.172 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/4.868, allocations: 496.8 kB / 3.173 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/4.868, allocations: 0.7086 MB / 3.174 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/4.869, allocations: 0.5219 MB / 3.174 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/4.869, allocations: 5.781 kB / 3.174 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001746/4.871, allocations: 1.305 MB / 3.175 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/4.871, allocations: 7.812 kB / 3.175 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/4.871, allocations: 2.875 kB / 3.175 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/4.871, allocations: 10.28 kB / 3.175 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/4.873, allocations: 372.2 kB / 3.176 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/4.873, allocations: 12.23 kB / 3.176 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/4.874, allocations: 234.9 kB / 3.176 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/4.874, allocations: 58.62 kB / 3.176 GB, free: 110.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * 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.0001985/4.874, allocations: 134.8 kB / 3.176 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/4.875, allocations: 118.9 kB / 3.176 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/4.877, allocations: 1.391 MB / 3.178 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/4.877, allocations: 13.38 kB / 3.178 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/4.877, allocations: 2.281 kB / 3.178 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/4.877, allocations: 8.484 kB / 3.178 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/4.881, allocations: 2.931 MB / 3.18 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/4.881, allocations: 3.719 kB / 3.18 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/4.883, allocations: 329.6 kB / 3.181 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/4.883, allocations: 8.5 kB / 3.181 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/4.883, allocations: 28.08 kB / 3.181 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/4.883, allocations: 17.39 kB / 3.181 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/4.883, allocations: 7.75 kB / 3.181 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002575/4.885, allocations: 2.435 MB / 3.183 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/4.886, allocations: 350 kB / 3.184 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/4.886, allocations: 14.23 kB / 3.184 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/4.887, allocations: 178.1 kB / 3.184 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/4.888, allocations: 67.72 kB / 3.184 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/4.888, allocations: 44.98 kB / 3.184 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005475/4.888, allocations: 0.6262 MB / 3.184 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001183/4.889, allocations: 486.8 kB / 3.185 GB, free: 109.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002078/4.891, allocations: 2.135 MB / 3.187 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00147/4.893, allocations: 1.196 MB / 3.188 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/4.893, allocations: 0 / 3.188 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007586/4.894, allocations: 0.6357 MB / 3.189 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/4.895, allocations: 419.5 kB / 3.189 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/4.91, allocations: 3.129 MB / 3.192 GB, free: 108 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/4.911, allocations: 1.394 MB / 3.194 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of SimCode: time 5.31e-07/4.911, allocations: 0 / 3.194 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.03773/4.949, allocations: 32.67 MB / 3.225 GB, free: 106.1 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)