Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [: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.001918/0.001918, allocations: 178.5 kB / 7.458 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6049/0.6049, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.135/1.135, 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.0008901/0.0008901, allocations: 95.08 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.666e-06, allocations: 2.562 kB / 0.5528 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 82.31 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.258/3.38, allocations: 2.12 GB / 2.754 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/3.38, allocations: 87.95 kB / 2.754 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.44/4.82, allocations: 0.5999 GB / 3.354 GB, free: 46.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.932e-05/4.82, allocations: 43.38 kB / 3.354 GB, free: 46.94 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002593/4.823, allocations: 1.35 MB / 3.355 GB, free: 45.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/4.823, allocations: 8.031 kB / 3.355 GB, free: 45.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/4.826, allocations: 0.6384 MB / 3.356 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/4.828, allocations: 0.9329 MB / 3.357 GB, free: 43.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/4.828, allocations: 24 kB / 3.357 GB, free: 43.92 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/4.828, allocations: 51.91 kB / 3.357 GB, free: 43.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000888/4.829, allocations: 0.5623 MB / 3.357 GB, free: 43.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/4.83, allocations: 0.8264 MB / 3.358 GB, free: 42.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/4.83, allocations: 3.938 kB / 3.358 GB, free: 42.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/4.83, allocations: 4 kB / 3.358 GB, free: 42.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/4.83, allocations: 33.3 kB / 3.358 GB, free: 42.36 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004258/4.834, allocations: 4.843 MB / 3.363 GB, free: 37.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000831/4.835, allocations: 0.5383 MB / 3.363 GB, free: 36.73 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/4.835, allocations: 298.3 kB / 3.364 GB, free: 36.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008398/4.836, allocations: 1.598 MB / 3.365 GB, free: 34.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/4.837, allocations: 369.1 kB / 3.365 GB, free: 34.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 2.164e-06/4.837, allocations: 0 / 3.365 GB, free: 34.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.001349/4.838, allocations: 0.706 MB / 3.366 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/4.838, allocations: 59.91 kB / 3.366 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/4.839, allocations: 0.8344 MB / 3.367 GB, free: 32.49 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/4.839, allocations: 29.64 kB / 3.367 GB, free: 32.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/4.839, allocations: 383.3 kB / 3.367 GB, free: 32.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/4.839, allocations: 201.1 kB / 3.368 GB, free: 31.87 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/4.839, allocations: 0 / 3.368 GB, free: 31.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/4.839, allocations: 337.9 kB / 3.368 GB, free: 31.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/4.84, allocations: 253.9 kB / 3.368 GB, free: 31.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/4.84, allocations: 0.5411 MB / 3.369 GB, free: 30.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/4.841, allocations: 350.9 kB / 3.369 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/4.841, allocations: 4 kB / 3.369 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001436/4.842, allocations: 0.8817 MB / 3.37 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/4.842, allocations: 8 kB / 3.37 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/4.842, allocations: 8 kB / 3.37 GB, free: 29.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/4.842, allocations: 12 kB / 3.37 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/4.844, allocations: 293.5 kB / 3.37 GB, free: 29.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/4.844, allocations: 19.92 kB / 3.37 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/4.845, allocations: 187.1 kB / 3.37 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/4.845, allocations: 55.95 kB / 3.37 GB, free: 28.81 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0001334/4.845, allocations: 138.7 kB / 3.371 GB, free: 28.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/4.845, allocations: 110.6 kB / 3.371 GB, free: 28.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/4.847, allocations: 1.055 MB / 3.372 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/4.847, allocations: 8 kB / 3.372 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/4.847, allocations: 3.984 kB / 3.372 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/4.847, allocations: 7.906 kB / 3.372 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/4.849, allocations: 1.983 MB / 3.374 GB, free: 25.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/4.849, allocations: 4.031 kB / 3.374 GB, free: 25.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/4.85, allocations: 212.4 kB / 3.374 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/4.85, allocations: 4 kB / 3.374 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/4.85, allocations: 23.97 kB / 3.374 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/4.851, allocations: 7.984 kB / 3.374 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/4.851, allocations: 4 kB / 3.374 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001836/4.852, allocations: 1.53 MB / 3.375 GB, free: 23.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/4.853, allocations: 295.3 kB / 3.376 GB, free: 23.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/4.853, allocations: 11.94 kB / 3.376 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009592/4.854, allocations: 132.5 kB / 3.376 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/4.854, allocations: 48.58 kB / 3.376 GB, free: 23.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/4.854, allocations: 31.97 kB / 3.376 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005175/4.854, allocations: 0.632 MB / 3.377 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009053/4.855, allocations: 380.2 kB / 3.377 GB, free: 22.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001031/4.856, allocations: 0.7002 MB / 3.378 GB, free: 21.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008912/4.857, allocations: 0.7423 MB / 3.378 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/4.857, allocations: 0 / 3.378 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004673/4.858, allocations: 414.3 kB / 3.379 GB, free: 20.35 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/4.859, allocations: 306.3 kB / 3.379 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/4.862, allocations: 1.832 MB / 3.381 GB, free: 18.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007449/4.863, allocations: 1.275 MB / 3.382 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/4.863, allocations: 0 / 3.382 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of Templates: time 0.2223/5.085, allocations: 19.09 MB / 3.401 GB, free: 198.8 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)