Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001262/0.001262, allocations: 188.2 kB / 7.807 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4485/0.4485, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 221.4 MB / 342.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 90.98 kB / 415.5 MB, free: 9.812 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.05e-05/1.053e-05, allocations: 4 kB / 493.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4164, allocations: 72.31 MB / 0.5529 GB, free: 44.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.266/4.682, allocations: 2.111 GB / 2.664 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/4.683, allocations: 84.55 kB / 2.664 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.647/6.33, allocations: 0.6 GB / 3.264 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001641/6.33, allocations: 42.88 kB / 3.264 GB, free: 37.81 MB / 0.6042 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.003527/6.334, allocations: 1.35 MB / 3.265 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/6.334, allocations: 8.031 kB / 3.265 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/6.337, allocations: 0.6417 MB / 3.266 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/6.34, allocations: 0.9285 MB / 3.267 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/6.34, allocations: 24 kB / 3.267 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/6.34, allocations: 51.91 kB / 3.267 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001126/6.341, allocations: 0.5584 MB / 3.267 GB, free: 34.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/6.343, allocations: 0.8303 MB / 3.268 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/6.343, allocations: 0 / 3.268 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/6.343, allocations: 7.984 kB / 3.268 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/6.343, allocations: 33.3 kB / 3.268 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004844/6.348, allocations: 4.845 MB / 3.273 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/6.349, allocations: 0.5389 MB / 3.273 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/6.349, allocations: 290.3 kB / 3.274 GB, free: 27.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009979/6.35, allocations: 1.602 MB / 3.275 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/6.35, allocations: 381 kB / 3.276 GB, free: 24.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 2.846e-06/6.35, allocations: 0 / 3.276 GB, free: 24.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.001668/6.352, allocations: 0.7021 MB / 3.276 GB, free: 24.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/6.352, allocations: 55.91 kB / 3.276 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/6.353, allocations: 0.8344 MB / 3.277 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/6.353, allocations: 29.7 kB / 3.277 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/6.353, allocations: 379.3 kB / 3.278 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/6.354, allocations: 204.7 kB / 3.278 GB, free: 22.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/6.354, allocations: 4 kB / 3.278 GB, free: 22.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.321e-05/6.354, allocations: 333.9 kB / 3.278 GB, free: 22.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/6.354, allocations: 254 kB / 3.278 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/6.355, allocations: 0.5422 MB / 3.279 GB, free: 21.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/6.355, allocations: 358.9 kB / 3.279 GB, free: 21.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/6.355, allocations: 4 kB / 3.279 GB, free: 21.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001593/6.357, allocations: 0.8768 MB / 3.28 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/6.357, allocations: 11 kB / 3.28 GB, free: 20.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/6.357, allocations: 7.984 kB / 3.28 GB, free: 20.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/6.357, allocations: 20 kB / 3.28 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/6.358, allocations: 287.5 kB / 3.28 GB, free: 19.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/6.358, allocations: 12 kB / 3.28 GB, free: 19.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/6.36, allocations: 195 kB / 3.281 GB, free: 19.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/6.36, allocations: 51.97 kB / 3.281 GB, free: 19.68 MB / 0.6042 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.0001727/6.36, allocations: 138.7 kB / 3.281 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/6.36, allocations: 110.6 kB / 3.281 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/6.362, allocations: 1.055 MB / 3.282 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/6.362, allocations: 15.92 kB / 3.282 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/6.362, allocations: 3.906 kB / 3.282 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/6.362, allocations: 7.984 kB / 3.282 GB, free: 18.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/6.365, allocations: 1.978 MB / 3.284 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/6.365, allocations: 0 / 3.284 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/6.366, allocations: 215.9 kB / 3.284 GB, free: 16.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/6.366, allocations: 4 kB / 3.284 GB, free: 16.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/6.366, allocations: 19.98 kB / 3.284 GB, free: 16.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/6.366, allocations: 7.984 kB / 3.284 GB, free: 16.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/6.366, allocations: 3.938 kB / 3.284 GB, free: 16.08 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002034/6.369, allocations: 1.523 MB / 3.286 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/6.369, allocations: 295.3 kB / 3.286 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/6.369, allocations: 11.98 kB / 3.286 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009849/6.37, allocations: 139.9 kB / 3.286 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/6.37, allocations: 52.47 kB / 3.286 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.051e-05/6.37, allocations: 35.88 kB / 3.286 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000651/6.371, allocations: 0.632 MB / 3.287 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001104/6.372, allocations: 382.3 kB / 3.287 GB, free: 12.93 MB / 0.6042 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.001184/6.373, allocations: 0.6924 MB / 3.288 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001046/6.374, allocations: 0.7352 MB / 3.288 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/6.374, allocations: 0 / 3.288 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/6.375, allocations: 421.3 kB / 3.289 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/6.376, allocations: 320.6 kB / 3.289 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/6.38, allocations: 1.813 MB / 3.291 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008231/6.381, allocations: 1.276 MB / 3.292 GB, free: 7.758 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/6.381, allocations: 0 / 3.292 GB, free: 7.758 MB / 0.6042 GB Notification: Performance of Templates: time 0.2372/6.618, allocations: 19.09 MB / 3.311 GB, free: 152 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)