Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.741/0.741, allocations: 133.7 MB / 148.6 MB, free: 13.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001007/0.001007, allocations: 180 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.41/1.41, allocations: 170.7 MB / 383.7 MB, free: 16.3 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001727/0.001727, allocations: 112.5 kB / 454.6 MB, free: 9.887 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1826/0.1831, allocations: 73.4 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.259, allocations: 336.4 MB / 1.01 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.26, allocations: 89.95 kB / 1.01 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.7626/2.022, allocations: 192.8 MB / 1.198 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/2.022, allocations: 0 / 1.198 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.449e-05/2.022, allocations: 29.75 kB / 1.198 GB, free: 115.6 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002229/2.025, allocations: 1.181 MB / 1.199 GB, free: 115 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/2.025, allocations: 7.062 kB / 1.199 GB, free: 115 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/2.028, allocations: 0.5149 MB / 1.2 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/2.029, allocations: 0.6587 MB / 1.2 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/2.029, allocations: 47.95 kB / 1.2 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/2.029, allocations: 56.45 kB / 1.2 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/2.032, allocations: 1.071 MB / 1.201 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/2.032, allocations: 7 kB / 1.201 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/2.032, allocations: 31.89 kB / 1.202 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/2.032, allocations: 23.64 kB / 1.202 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/2.034, allocations: 0.9492 MB / 1.202 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/2.039, allocations: 4.901 MB / 1.207 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/2.041, allocations: 0.7359 MB / 1.208 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/2.042, allocations: 0.8324 MB / 1.209 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/2.043, allocations: 0.6341 MB / 1.209 GB, free: 110 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.365e-06/2.043, allocations: 6.312 kB / 1.209 GB, free: 110 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004154/2.047, allocations: 1.704 MB / 1.211 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001921/2.047, allocations: 347.2 kB / 1.211 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/2.049, allocations: 0.6408 MB / 1.212 GB, free: 109 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/2.049, allocations: 35.55 kB / 1.212 GB, free: 109 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/2.049, allocations: 433 kB / 1.212 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/2.049, allocations: 119.2 kB / 1.213 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/2.049, allocations: 13.38 kB / 1.213 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001298/2.049, allocations: 394.4 kB / 1.213 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/2.05, allocations: 424.3 kB / 1.213 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/2.052, allocations: 0.6883 MB / 1.214 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/2.053, allocations: 0.5486 MB / 1.215 GB, free: 108 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/2.053, allocations: 6.562 kB / 1.215 GB, free: 108 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003061/2.056, allocations: 1.354 MB / 1.216 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/2.056, allocations: 100.9 kB / 1.216 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/2.056, allocations: 9.469 kB / 1.216 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/2.056, allocations: 9.688 kB / 1.216 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009739/2.057, allocations: 223.4 kB / 1.216 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/2.057, allocations: 16.03 kB / 1.216 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/2.059, allocations: 200.3 kB / 1.216 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/2.059, allocations: 41.48 kB / 1.216 GB, free: 107.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent) * 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.0005592/2.059, allocations: 351.2 kB / 1.217 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/2.059, allocations: 85.61 kB / 1.217 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/2.063, allocations: 1.615 MB / 1.218 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/2.063, allocations: 6.734 kB / 1.218 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/2.063, allocations: 4.969 kB / 1.218 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/2.063, allocations: 7.016 kB / 1.218 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/2.064, allocations: 0.7384 MB / 1.219 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/2.064, allocations: 0 / 1.219 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/2.065, allocations: 142.5 kB / 1.219 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/2.065, allocations: 3.125 kB / 1.219 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/2.065, allocations: 18.83 kB / 1.219 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/2.065, allocations: 6.438 kB / 1.219 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/2.065, allocations: 0 / 1.219 GB, free: 107 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/2.068, allocations: 1.249 MB / 1.221 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/2.068, allocations: 184.1 kB / 1.221 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/2.068, allocations: 18.44 kB / 1.221 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009096/2.069, allocations: 119.6 kB / 1.221 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/2.069, allocations: 31.05 kB / 1.221 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/2.069, allocations: 30.06 kB / 1.221 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006414/2.07, allocations: 0.554 MB / 1.222 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/2.07, allocations: 0 / 1.222 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001265/2.071, allocations: 360.1 kB / 1.222 GB, free: 106.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent) * Number of discrete states: 15 (TSetHeat.last,TSetHeat.nextEvent,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.last,TSetCool.nextEvent,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.last,TSetCoolHeat.nextEvent,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.0009407/2.072, allocations: 491.1 kB / 1.222 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002701/2.075, allocations: 1.155 MB / 1.223 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/2.075, allocations: 2.469 kB / 1.223 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/2.076, allocations: 0.6545 MB / 1.224 GB, free: 106 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/2.077, allocations: 281.8 kB / 1.224 GB, free: 106 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/2.08, allocations: 1.794 MB / 1.226 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/2.081, allocations: 0.9942 MB / 1.227 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007499/2.082, allocations: 181.9 kB / 1.227 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/2.082, allocations: 78.36 kB / 1.227 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of SimCode: time 9.41e-07/2.082, allocations: 3.344 kB / 1.227 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.02826/2.11, allocations: 16.6 MB / 1.244 GB, free: 103.4 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe 2>&1)