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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) 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_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.5321/0.5346, allocations: 80.81 MB / 0.5904 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.0188/0.5534, allocations: 22.67 MB / 0.6125 GB, free: 88 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007496/0.561, allocations: 4.472 MB / 0.6169 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009606/0.562, allocations: 15.88 kB / 0.6169 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.5633, allocations: 437.4 kB / 0.6173 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003045/0.5663, allocations: 1.018 MB / 0.6183 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.5689, allocations: 0.7826 MB / 0.6191 GB, free: 9.359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003002/0.5719, allocations: 1.794 MB / 0.6208 GB, free: 7.562 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.5729, allocations: 0.5524 MB / 0.6214 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.5749, allocations: 0.86 MB / 0.6222 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.5764, allocations: 0.6537 MB / 0.6229 GB, free: 5.477 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.5767, allocations: 64 kB / 0.6229 GB, free: 5.414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.5786, allocations: 0.667 MB / 0.6236 GB, free: 4.746 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.5789, allocations: 207.2 kB / 0.6238 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.5796, allocations: 449.7 kB / 0.6242 GB, free: 4.102 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.5822, allocations: 1.309 MB / 0.6255 GB, free: 2.789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.5822, allocations: 0 / 0.6255 GB, free: 2.789 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.568e-06/0.5822, allocations: 4 kB / 0.6255 GB, free: 2.785 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.5822, allocations: 0 / 0.6255 GB, free: 2.785 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002352/0.5846, allocations: 1.282 MB / 0.6267 GB, free: 1.434 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.5847, allocations: 8.031 kB / 0.6267 GB, free: 1.426 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.5881, allocations: 0.5305 MB / 0.6273 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.5892, allocations: 0.5809 MB / 0.6278 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.5893, allocations: 45.3 kB / 0.6279 GB, free: 236 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5894, allocations: 60 kB / 0.6279 GB, free: 176 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.592, allocations: 1.09 MB / 0.629 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.592, allocations: 3.938 kB / 0.629 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.5921, allocations: 32 kB / 0.629 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.5921, allocations: 23.98 kB / 0.6291 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.595, allocations: 0.9835 MB / 0.63 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006577/0.6016, allocations: 4.978 MB / 0.6349 GB, free: 8.688 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.6042, allocations: 0.7693 MB / 0.6356 GB, free: 7.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.6055, allocations: 468.7 kB / 0.6361 GB, free: 7.449 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008732/0.6064, allocations: 0.8233 MB / 0.6369 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/0.6081, allocations: 0.6692 MB / 0.6375 GB, free: 5.727 MB / 478.1 MB Notification: Performance of pre-optimization done (n=46): time 2.585e-06/0.6081, allocations: 0 / 0.6375 GB, free: 5.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=46): time 0.004633/0.6127, allocations: 1.54 MB / 0.639 GB, free: 4.164 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/0.6129, allocations: 354.1 kB / 0.6394 GB, free: 3.738 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.6142, allocations: 0.7507 MB / 0.6401 GB, free: 2.977 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.443e-05/0.6143, allocations: 33.7 kB / 0.6401 GB, free: 2.938 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.6147, allocations: 435.5 kB / 0.6406 GB, free: 2.504 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.6149, allocations: 146 kB / 0.6407 GB, free: 2.359 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.6152, allocations: 158.1 kB / 0.6408 GB, free: 2.199 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6154, allocations: 337.9 kB / 0.6412 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.6168, allocations: 445.2 kB / 0.6416 GB, free: 1.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.6185, allocations: 0.7183 MB / 0.6423 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.6215, allocations: 1.239 MB / 0.6435 GB, free: 15.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.6215, allocations: 0 / 0.6435 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00382/0.6254, allocations: 1.405 MB / 0.6449 GB, free: 13.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.6255, allocations: 109.1 kB / 0.645 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.6255, allocations: 8 kB / 0.645 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/0.6256, allocations: 8 kB / 0.645 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.6266, allocations: 219.9 kB / 0.6452 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.6266, allocations: 8 kB / 0.6452 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.628, allocations: 183 kB / 0.6454 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.6281, allocations: 43.92 kB / 0.6454 GB, free: 13.19 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (TSetCoolHeat.nextEventScaled,TSetCoolHeat.nextEvent,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.b,TSetCoolHeat.a,TSetCool.nextEventScaled,TSetCool.nextEvent,$PRE.TSetCool.nextEvent,TSetCool.last,TSetCool.b,TSetCool.a,TSetHeat.nextEventScaled,TSetHeat.nextEvent,$PRE.TSetHeat.nextEvent,TSetHeat.last,TSetHeat.b,TSetHeat.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005943/0.6287, allocations: 352.4 kB / 0.6458 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.629, allocations: 94.97 kB / 0.6459 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.6331, allocations: 1.688 MB / 0.6475 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.6332, allocations: 4 kB / 0.6475 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6332, allocations: 0 / 0.6475 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.6332, allocations: 7.984 kB / 0.6475 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.6344, allocations: 0.7557 MB / 0.6483 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6344, allocations: 0 / 0.6483 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.6352, allocations: 135.8 kB / 0.6484 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.6352, allocations: 4 kB / 0.6484 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.6353, allocations: 19.98 kB / 0.6484 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.6353, allocations: 7.984 kB / 0.6484 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6353, allocations: 0 / 0.6484 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.6386, allocations: 1.326 MB / 0.6497 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.6389, allocations: 163.9 kB / 0.6499 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.6392, allocations: 23.84 kB / 0.6499 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009928/0.6402, allocations: 115.9 kB / 0.65 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.6403, allocations: 35.89 kB / 0.65 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.6404, allocations: 23.98 kB / 0.6501 GB, free: 8.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007987/0.6412, allocations: 0.5771 MB / 0.6506 GB, free: 7.766 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6412, allocations: 0 / 0.6506 GB, free: 7.766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001112/0.6423, allocations: 339.8 kB / 0.6509 GB, free: 7.434 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008998/0.6432, allocations: 349.4 kB / 0.6513 GB, free: 7.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003483/0.6467, allocations: 1.327 MB / 0.6526 GB, free: 5.734 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6467, allocations: 0 / 0.6526 GB, free: 5.734 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.6484, allocations: 0.737 MB / 0.6533 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.6503, allocations: 322 kB / 0.6536 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.6544, allocations: 1.651 MB / 0.6552 GB, free: 2.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.655, allocations: 0.9863 MB / 0.6562 GB, free: 1.965 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008814/0.6559, allocations: 179 kB / 0.6563 GB, free: 1.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.6562, allocations: 87.38 kB / 0.6564 GB, free: 1.711 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6562, allocations: 0 / 0.6564 GB, free: 1.711 MB / 494.1 MB Notification: Performance of Templates: time 0.03317/0.6894, allocations: 17.24 MB / 0.6733 GB, free: 0.6094 MB / 0.4981 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)