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.7176/0.7176, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001142/0.001142, allocations: 176.2 kB / 176.9 MB, free: 2.23 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.504/1.504, allocations: 170.5 MB / 379.3 MB, free: 11.87 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.001553/0.001553, allocations: 119 kB / 450 MB, free: 5.852 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.4903/0.4903, allocations: 73.39 MB / 0.6736 GB, free: 47.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7083/1.199, allocations: 336.3 MB / 1.002 GB, free: 62.84 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/1.199, allocations: 89.33 kB / 1.002 GB, free: 62.79 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.7249/1.924, allocations: 192.2 MB / 1.19 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/1.924, allocations: 4 kB / 1.19 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.14e-05/1.924, allocations: 22.41 kB / 1.19 GB, free: 153.9 MB / 0.6198 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.001542/1.926, allocations: 1.075 MB / 1.191 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.926, allocations: 10.88 kB / 1.191 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/1.928, allocations: 0.5105 MB / 1.191 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/1.93, allocations: 0.6539 MB / 1.192 GB, free: 152.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/1.93, allocations: 48 kB / 1.192 GB, free: 152.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/1.93, allocations: 51.38 kB / 1.192 GB, free: 152.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/1.931, allocations: 0.9204 MB / 1.193 GB, free: 152.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/1.931, allocations: 0 / 1.193 GB, free: 152.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/1.931, allocations: 27.75 kB / 1.193 GB, free: 152.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/1.931, allocations: 26.81 kB / 1.193 GB, free: 152.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/1.932, allocations: 0.6081 MB / 1.194 GB, free: 151.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/1.936, allocations: 4.905 MB / 1.198 GB, free: 147.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/1.936, allocations: 438 kB / 1.199 GB, free: 147.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/1.937, allocations: 249.5 kB / 1.199 GB, free: 147.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005251/1.937, allocations: 0.8267 MB / 1.2 GB, free: 146.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005038/1.938, allocations: 475.6 kB / 1.2 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/1.938, allocations: 4 kB / 1.2 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001114/1.939, allocations: 0.7552 MB / 1.201 GB, free: 146.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/1.939, allocations: 353.6 kB / 1.201 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/1.94, allocations: 0.6358 MB / 1.202 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/1.94, allocations: 33.42 kB / 1.202 GB, free: 145.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/1.94, allocations: 434.5 kB / 1.202 GB, free: 145 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/1.94, allocations: 130 kB / 1.203 GB, free: 144.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/1.94, allocations: 15.5 kB / 1.203 GB, free: 144.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.94, allocations: 387.6 kB / 1.203 GB, free: 144.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/1.941, allocations: 258.8 kB / 1.203 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/1.941, allocations: 0.5256 MB / 1.204 GB, free: 144 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/1.942, allocations: 394 kB / 1.204 GB, free: 143.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.942, allocations: 0 / 1.204 GB, free: 143.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001268/1.943, allocations: 1.018 MB / 1.205 GB, free: 143.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/1.943, allocations: 100.4 kB / 1.205 GB, free: 143.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.943, allocations: 7.812 kB / 1.205 GB, free: 143.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.943, allocations: 11.75 kB / 1.205 GB, free: 143.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009066/1.944, allocations: 218.9 kB / 1.205 GB, free: 143.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/1.944, allocations: 13.69 kB / 1.205 GB, free: 143.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.945, allocations: 204.9 kB / 1.206 GB, free: 143.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/1.945, allocations: 44.75 kB / 1.206 GB, free: 143.2 MB / 0.6198 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.0002152/1.945, allocations: 250.9 kB / 1.206 GB, free: 143 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/1.945, allocations: 87.47 kB / 1.206 GB, free: 142.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/1.947, allocations: 1.295 MB / 1.207 GB, free: 142.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/1.947, allocations: 3.906 kB / 1.207 GB, free: 142.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/1.947, allocations: 0 / 1.207 GB, free: 142.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.947, allocations: 3.234 kB / 1.207 GB, free: 142.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/1.948, allocations: 0.7458 MB / 1.208 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.948, allocations: 0 / 1.208 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/1.949, allocations: 139.1 kB / 1.208 GB, free: 142 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.949, allocations: 0 / 1.208 GB, free: 142 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/1.949, allocations: 24.52 kB / 1.208 GB, free: 142 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.949, allocations: 0 / 1.208 GB, free: 142 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.949, allocations: 3.953 kB / 1.208 GB, free: 142 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/1.95, allocations: 0.9179 MB / 1.209 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/1.95, allocations: 180.4 kB / 1.209 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.95, allocations: 19.34 kB / 1.209 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/1.951, allocations: 128 kB / 1.209 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/1.951, allocations: 34.67 kB / 1.209 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/1.951, allocations: 29.09 kB / 1.209 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005451/1.952, allocations: 0.5519 MB / 1.21 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.81e-07/1.952, allocations: 0 / 1.21 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009898/1.953, allocations: 364.6 kB / 1.21 GB, free: 141.1 MB / 0.6198 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.0008514/1.954, allocations: 481 kB / 1.211 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000972/1.955, allocations: 0.8366 MB / 1.212 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.955, allocations: 3.938 kB / 1.212 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004266/1.955, allocations: 492.6 kB / 1.212 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/1.956, allocations: 284.2 kB / 1.212 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/1.958, allocations: 1.032 MB / 1.213 GB, free: 139.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/1.958, allocations: 0.9957 MB / 1.214 GB, free: 138.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006445/1.959, allocations: 178 kB / 1.214 GB, free: 138.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/1.959, allocations: 87.91 kB / 1.215 GB, free: 138.9 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/1.959, allocations: 0 / 1.215 GB, free: 138.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.0242/1.983, allocations: 16.93 MB / 1.231 GB, free: 130.9 MB / 0.6198 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)