Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [: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.001839/0.001839, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5975/0.5975, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.134/1.134, allocations: 221.3 MB / 395 MB, free: 10.22 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.0008819/0.0008819, allocations: 93.22 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.055e-06, allocations: 2.781 kB / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.879/3.008, allocations: 1.836 GB / 2.469 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/3.009, allocations: 83.36 kB / 2.469 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.676/5.685, allocations: 1.018 GB / 3.487 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001017/5.685, allocations: 46.06 kB / 3.487 GB, free: 107.7 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006205/5.691, allocations: 1.878 MB / 3.489 GB, free: 107 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/5.691, allocations: 7.688 kB / 3.489 GB, free: 107 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003963/5.695, allocations: 0.7698 MB / 3.49 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/5.698, allocations: 1.056 MB / 3.491 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/5.698, allocations: 30.77 kB / 3.491 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/5.698, allocations: 49.62 kB / 3.491 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001214/5.699, allocations: 0.8516 MB / 3.492 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/5.701, allocations: 1.172 MB / 3.493 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/5.701, allocations: 0 / 3.493 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/5.701, allocations: 7.828 kB / 3.493 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/5.701, allocations: 41.64 kB / 3.493 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007442/5.708, allocations: 5.681 MB / 3.499 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/5.71, allocations: 0.8808 MB / 3.5 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/5.71, allocations: 0.4903 MB / 3.5 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/5.711, allocations: 0.5918 MB / 3.501 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008526/5.712, allocations: 0.578 MB / 3.501 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 2.224e-06/5.712, allocations: 0 / 3.501 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.002239/5.714, allocations: 1.089 MB / 3.502 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/5.714, allocations: 60.12 kB / 3.502 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/5.715, allocations: 0.8499 MB / 3.503 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.998e-05/5.715, allocations: 31.08 kB / 3.503 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/5.715, allocations: 420.4 kB / 3.504 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/5.716, allocations: 261.3 kB / 3.504 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/5.716, allocations: 0 / 3.504 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/5.716, allocations: 341.5 kB / 3.504 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000591/5.716, allocations: 429.5 kB / 3.505 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/5.717, allocations: 0.7125 MB / 3.505 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/5.718, allocations: 480.7 kB / 3.506 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/5.718, allocations: 2.156 kB / 3.506 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001741/5.72, allocations: 1.186 MB / 3.507 GB, free: 101 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/5.72, allocations: 7.781 kB / 3.507 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/5.72, allocations: 3.875 kB / 3.507 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/5.72, allocations: 19.22 kB / 3.507 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/5.721, allocations: 329.9 kB / 3.507 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/5.721, allocations: 14.94 kB / 3.507 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/5.723, allocations: 206.3 kB / 3.507 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/5.723, allocations: 62.61 kB / 3.507 GB, free: 100.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.000187/5.723, allocations: 135.3 kB / 3.508 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/5.723, allocations: 116.9 kB / 3.508 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/5.725, allocations: 1.193 MB / 3.509 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/5.725, allocations: 10.56 kB / 3.509 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/5.725, allocations: 0 / 3.509 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/5.725, allocations: 2.906 kB / 3.509 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/5.728, allocations: 2.605 MB / 3.511 GB, free: 99.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/5.728, allocations: 3.906 kB / 3.511 GB, free: 99.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/5.73, allocations: 259.8 kB / 3.512 GB, free: 99.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/5.73, allocations: 8.141 kB / 3.512 GB, free: 99.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.942e-05/5.73, allocations: 27.11 kB / 3.512 GB, free: 99.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/5.73, allocations: 15.22 kB / 3.512 GB, free: 99.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/5.73, allocations: 4.969 kB / 3.512 GB, free: 99.27 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00267/5.733, allocations: 2.144 MB / 3.514 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/5.733, allocations: 326.6 kB / 3.514 GB, free: 97.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/5.733, allocations: 8.094 kB / 3.514 GB, free: 97.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/5.735, allocations: 145.2 kB / 3.514 GB, free: 97.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/5.735, allocations: 62.14 kB / 3.514 GB, free: 97.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/5.735, allocations: 40.11 kB / 3.514 GB, free: 97.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000738/5.736, allocations: 0.6444 MB / 3.515 GB, free: 97.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00141/5.737, allocations: 461.1 kB / 3.515 GB, free: 97.48 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.002874/5.74, allocations: 2.12 MB / 3.518 GB, free: 96.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001648/5.742, allocations: 1.041 MB / 3.519 GB, free: 96.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/5.742, allocations: 0 / 3.519 GB, free: 96.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/5.742, allocations: 0.5384 MB / 3.519 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/5.744, allocations: 396.4 kB / 3.519 GB, free: 96.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/5.758, allocations: 2.783 MB / 3.522 GB, free: 95.53 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/5.76, allocations: 1.366 MB / 3.524 GB, free: 94.78 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/5.76, allocations: 0 / 3.524 GB, free: 94.78 MB / 0.6823 GB Notification: Performance of Templates: time 0.03739/5.797, allocations: 30.31 MB / 3.553 GB, free: 66.95 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)