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.8383/0.8383, allocations: 132.4 MB / 139.9 MB, free: 2.82 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001067/0.001067, allocations: 172.8 kB / 171.8 MB, free: 4.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.497/1.497, allocations: 170.6 MB / 374.2 MB, free: 172 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001648/0.001648, allocations: 107.5 kB / 444.8 MB, free: 14.16 MB / 314.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.1869/0.187, allocations: 73.4 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.523, allocations: 335.6 MB / 0.9944 GB, free: 122 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003777/1.523, allocations: 84.08 kB / 0.9944 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8476/2.371, allocations: 190.4 MB / 1.18 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.756e-06/2.371, allocations: 0 / 1.18 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.234e-05/2.371, allocations: 19 kB / 1.18 GB, free: 156.9 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.002633/2.373, allocations: 1.082 MB / 1.181 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/2.373, allocations: 10.56 kB / 1.181 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/2.377, allocations: 0.5151 MB / 1.182 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/2.379, allocations: 0.6476 MB / 1.183 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/2.379, allocations: 23.23 kB / 1.183 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/2.379, allocations: 34 kB / 1.183 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001186/2.38, allocations: 0.5517 MB / 1.183 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/2.381, allocations: 0.8278 MB / 1.184 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/2.381, allocations: 3.281 kB / 1.184 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-05/2.381, allocations: 7.188 kB / 1.184 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/2.381, allocations: 18.19 kB / 1.184 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006004/2.387, allocations: 4.76 MB / 1.189 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/2.388, allocations: 424.3 kB / 1.189 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/2.389, allocations: 233.2 kB / 1.189 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008624/2.39, allocations: 0.825 MB / 1.19 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007467/2.39, allocations: 477.2 kB / 1.191 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 4.829e-06/2.39, allocations: 0 / 1.191 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004091/2.394, allocations: 1.008 MB / 1.192 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/2.395, allocations: 352.1 kB / 1.192 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/2.396, allocations: 0.4953 MB / 1.192 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/2.396, allocations: 26.64 kB / 1.192 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/2.396, allocations: 440.9 kB / 1.193 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/2.397, allocations: 123.3 kB / 1.193 GB, free: 150 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/2.397, allocations: 0 / 1.193 GB, free: 150 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002241/2.397, allocations: 388.5 kB / 1.193 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/2.397, allocations: 237.9 kB / 1.194 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/2.398, allocations: 0.5125 MB / 1.194 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/2.4, allocations: 0.6499 MB / 1.195 GB, free: 149 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/2.4, allocations: 0 / 1.195 GB, free: 149 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003554/2.404, allocations: 1.223 MB / 1.196 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/2.404, allocations: 103.4 kB / 1.196 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/2.404, allocations: 7.719 kB / 1.196 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/2.404, allocations: 13.09 kB / 1.196 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009493/2.405, allocations: 217.1 kB / 1.196 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/2.405, allocations: 16.89 kB / 1.196 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/2.406, allocations: 166.9 kB / 1.196 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.793e-05/2.406, allocations: 44.17 kB / 1.196 GB, free: 148.5 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 () * 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.0002527/2.407, allocations: 243.9 kB / 1.197 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/2.407, allocations: 74.78 kB / 1.197 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/2.409, allocations: 1.238 MB / 1.198 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/2.409, allocations: 9.594 kB / 1.198 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/2.409, allocations: 0 / 1.198 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/2.409, allocations: 0 / 1.198 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009158/2.41, allocations: 0.6474 MB / 1.199 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/2.41, allocations: 3.656 kB / 1.199 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/2.411, allocations: 140.8 kB / 1.199 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/2.411, allocations: 6.875 kB / 1.199 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/2.411, allocations: 15.78 kB / 1.199 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/2.411, allocations: 3.75 kB / 1.199 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/2.411, allocations: 0 / 1.199 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/2.413, allocations: 0.8557 MB / 1.2 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/2.413, allocations: 175.9 kB / 1.2 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/2.413, allocations: 11.53 kB / 1.2 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008283/2.414, allocations: 114.4 kB / 1.2 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/2.414, allocations: 34.27 kB / 1.2 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/2.414, allocations: 32.97 kB / 1.2 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000561/2.415, allocations: 445.1 kB / 1.2 GB, free: 147 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/2.415, allocations: 0 / 1.2 GB, free: 147 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00147/2.416, allocations: 349.1 kB / 1.201 GB, free: 146.9 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) * 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.000922/2.417, allocations: 487.1 kB / 1.201 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001013/2.418, allocations: 0.7963 MB / 1.202 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.418, allocations: 0 / 1.202 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004228/2.418, allocations: 476.7 kB / 1.202 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008815/2.419, allocations: 185.7 kB / 1.203 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/2.421, allocations: 0.9991 MB / 1.204 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/2.422, allocations: 0.9895 MB / 1.205 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006541/2.422, allocations: 161.6 kB / 1.205 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/2.422, allocations: 75.36 kB / 1.205 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.645e-06/2.422, allocations: 0 / 1.205 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.0229/2.445, allocations: 13.09 MB / 1.218 GB, free: 142.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)