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.1778/0.179, allocations: 82.22 MB / 0.5934 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.02155/0.2006, allocations: 19 MB / 0.6119 GB, free: 3.004 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006331/0.2069, allocations: 3.895 MB / 0.6157 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009831/0.208, allocations: 19.81 kB / 0.6157 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.2093, allocations: 334.6 kB / 0.6161 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.2121, allocations: 0.8686 MB / 0.6169 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.2142, allocations: 0.6151 MB / 0.6175 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002204/0.2164, allocations: 1.064 MB / 0.6185 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.2175, allocations: 475.2 kB / 0.619 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.2193, allocations: 0.697 MB / 0.6197 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009998/0.2203, allocations: 466.2 kB / 0.6201 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.2205, allocations: 32 kB / 0.6201 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.2218, allocations: 0.4954 MB / 0.6206 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.2221, allocations: 175.3 kB / 0.6208 GB, free: 9.875 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.2224, allocations: 193.2 kB / 0.621 GB, free: 9.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.2236, allocations: 0.8769 MB / 0.6218 GB, free: 8.801 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2236, allocations: 3.938 kB / 0.6218 GB, free: 8.797 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2236, allocations: 0 / 0.6218 GB, free: 8.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.2236, allocations: 0 / 0.6218 GB, free: 8.797 MB / 478.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.00171/0.2253, allocations: 1.126 MB / 0.6229 GB, free: 7.605 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.2254, allocations: 8.031 kB / 0.623 GB, free: 7.598 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/0.2286, allocations: 0.5686 MB / 0.6235 GB, free: 7.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009742/0.2296, allocations: 0.5569 MB / 0.6241 GB, free: 6.426 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.2296, allocations: 41.31 kB / 0.6241 GB, free: 6.387 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.2297, allocations: 60 kB / 0.6241 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.2319, allocations: 1.087 MB / 0.6252 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.232, allocations: 7.938 kB / 0.6252 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.2321, allocations: 35.97 kB / 0.6253 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.2321, allocations: 20 kB / 0.6253 GB, free: 5.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.2348, allocations: 1.003 MB / 0.6262 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00526/0.2401, allocations: 4.982 MB / 0.6311 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.2423, allocations: 0.7832 MB / 0.6319 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/0.2429, allocations: 0.8155 MB / 0.6327 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.2444, allocations: 0.6734 MB / 0.6333 GB, free: 12.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 2.565e-06/0.2444, allocations: 4 kB / 0.6333 GB, free: 12.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.004394/0.2488, allocations: 1.795 MB / 0.6351 GB, free: 10.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002196/0.249, allocations: 358.1 kB / 0.6354 GB, free: 10 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.2503, allocations: 0.743 MB / 0.6362 GB, free: 9.246 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/0.2503, allocations: 33.7 kB / 0.6362 GB, free: 9.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/0.2508, allocations: 439.4 kB / 0.6366 GB, free: 8.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.251, allocations: 138.1 kB / 0.6367 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.2511, allocations: 20 kB / 0.6368 GB, free: 8.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2512, allocations: 329.9 kB / 0.6371 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.2526, allocations: 453.3 kB / 0.6375 GB, free: 7.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.2541, allocations: 0.7221 MB / 0.6382 GB, free: 6.992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.2554, allocations: 0.5571 MB / 0.6388 GB, free: 6.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.2554, allocations: 4 kB / 0.6388 GB, free: 6.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003155/0.2586, allocations: 1.401 MB / 0.6401 GB, free: 4.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/0.2587, allocations: 105.1 kB / 0.6402 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.2587, allocations: 4 kB / 0.6402 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/0.2588, allocations: 12 kB / 0.6402 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/0.2598, allocations: 228.2 kB / 0.6405 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.2598, allocations: 15.94 kB / 0.6405 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.261, allocations: 206.9 kB / 0.6407 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.47e-05/0.2611, allocations: 43.97 kB / 0.6407 GB, free: 4.363 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 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.2615, allocations: 352.4 kB / 0.6411 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.2617, allocations: 86.97 kB / 0.6411 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.2655, allocations: 1.706 MB / 0.6428 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.2655, allocations: 7.984 kB / 0.6428 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.2655, allocations: 3.984 kB / 0.6428 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2655, allocations: 0 / 0.6428 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.2668, allocations: 0.7672 MB / 0.6436 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2668, allocations: 0 / 0.6436 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.2676, allocations: 151.7 kB / 0.6437 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.2676, allocations: 0 / 0.6437 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.2677, allocations: 23.98 kB / 0.6437 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.2677, allocations: 7.953 kB / 0.6437 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2677, allocations: 0 / 0.6437 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.2706, allocations: 1.334 MB / 0.645 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.2709, allocations: 195.8 kB / 0.6452 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.2711, allocations: 20 kB / 0.6452 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009064/0.272, allocations: 119.9 kB / 0.6454 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.2721, allocations: 43.91 kB / 0.6454 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/0.2722, allocations: 23.98 kB / 0.6454 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006982/0.2729, allocations: 0.5693 MB / 0.646 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.393e-06/0.2729, allocations: 0 / 0.646 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009556/0.2739, allocations: 343.6 kB / 0.6463 GB, free: 14.52 MB / 0.4981 GB 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 (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.000735/0.2746, allocations: 339.8 kB / 0.6466 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002989/0.2776, allocations: 1.312 MB / 0.6479 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2776, allocations: 448 / 0.6479 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.2791, allocations: 0.7522 MB / 0.6486 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.2805, allocations: 290.5 kB / 0.6489 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.2841, allocations: 1.889 MB / 0.6508 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.2847, allocations: 1.006 MB / 0.6518 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007405/0.2854, allocations: 186 kB / 0.6519 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.2857, allocations: 75.39 kB / 0.652 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2857, allocations: 0 / 0.652 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.02744/0.3131, allocations: 15.98 MB / 0.6676 GB, free: 8.758 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: