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.1894/0.1915, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.02287/0.2144, allocations: 22.67 MB / 0.6928 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006903/0.2214, allocations: 4.468 MB / 0.6971 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009971/0.2224, allocations: 23.81 kB / 0.6972 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.224, allocations: 445.4 kB / 0.6976 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.2276, allocations: 1.057 MB / 0.6986 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.2303, allocations: 0.7833 MB / 0.6994 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002773/0.233, allocations: 1.794 MB / 0.7011 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.2341, allocations: 0.5485 MB / 0.7017 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.2361, allocations: 0.8717 MB / 0.7025 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.2373, allocations: 0.6615 MB / 0.7032 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.2376, allocations: 60 kB / 0.7032 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.2393, allocations: 0.6826 MB / 0.7039 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003551/0.2397, allocations: 203.3 kB / 0.7041 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008009/0.2405, allocations: 457.6 kB / 0.7045 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.2429, allocations: 1.324 MB / 0.7058 GB, free: 13.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2429, allocations: 0 / 0.7058 GB, free: 13.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2429, allocations: 0 / 0.7058 GB, free: 13.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.916e-05/0.2429, allocations: 0 / 0.7058 GB, free: 13.86 MB / 0.545 GB 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.002342/0.2453, allocations: 1.275 MB / 0.7071 GB, free: 12.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.2453, allocations: 8.031 kB / 0.7071 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003436/0.2488, allocations: 0.5381 MB / 0.7076 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.25, allocations: 0.6041 MB / 0.7082 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.25, allocations: 41.31 kB / 0.7082 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.2502, allocations: 64 kB / 0.7083 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.2526, allocations: 1.094 MB / 0.7093 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.2527, allocations: 4 kB / 0.7093 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.2528, allocations: 28 kB / 0.7094 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.2528, allocations: 27.94 kB / 0.7094 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.256, allocations: 0.9874 MB / 0.7104 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005716/0.2617, allocations: 4.943 MB / 0.7152 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.2642, allocations: 0.7791 MB / 0.716 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.2655, allocations: 464.4 kB / 0.7164 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/0.2661, allocations: 0.8233 MB / 0.7172 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/0.2677, allocations: 0.6617 MB / 0.7178 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=46): time 2.945e-06/0.2678, allocations: 0 / 0.7178 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of matching and sorting (n=46): time 0.004448/0.2722, allocations: 1.547 MB / 0.7194 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.2724, allocations: 350.1 kB / 0.7197 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.2735, allocations: 0.7507 MB / 0.7204 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.2736, allocations: 33.7 kB / 0.7205 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.274, allocations: 439.5 kB / 0.7209 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.2742, allocations: 142.1 kB / 0.721 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.2745, allocations: 162.2 kB / 0.7212 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2746, allocations: 326 kB / 0.7215 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.2759, allocations: 449.3 kB / 0.7219 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.2775, allocations: 0.7144 MB / 0.7226 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.2804, allocations: 1.239 MB / 0.7238 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.2804, allocations: 7.938 kB / 0.7238 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003563/0.284, allocations: 1.397 MB / 0.7252 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.2841, allocations: 105.1 kB / 0.7253 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.2842, allocations: 8 kB / 0.7253 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/0.2842, allocations: 12 kB / 0.7253 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.2852, allocations: 216.2 kB / 0.7255 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/0.2853, allocations: 19.92 kB / 0.7255 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.2865, allocations: 182.9 kB / 0.7257 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/0.2866, allocations: 39.98 kB / 0.7257 GB, free: 8.266 MB / 0.5606 GB 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.0005467/0.2872, allocations: 364.3 kB / 0.7261 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.2874, allocations: 86.97 kB / 0.7262 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.2914, allocations: 1.688 MB / 0.7278 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.2915, allocations: 7.984 kB / 0.7278 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2915, allocations: 0 / 0.7278 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2915, allocations: 0 / 0.7278 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.2926, allocations: 0.7637 MB / 0.7286 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.2926, allocations: 3.938 kB / 0.7286 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.2934, allocations: 147.8 kB / 0.7287 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.2934, allocations: 0 / 0.7287 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.2935, allocations: 19.98 kB / 0.7287 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2935, allocations: 0 / 0.7287 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2935, allocations: 0 / 0.7287 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.2968, allocations: 1.338 MB / 0.73 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.297, allocations: 159.8 kB / 0.7302 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.2972, allocations: 31.84 kB / 0.7302 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009706/0.2982, allocations: 107.9 kB / 0.7303 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2983, allocations: 31.94 kB / 0.7304 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.2984, allocations: 23.98 kB / 0.7304 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008147/0.2992, allocations: 0.5771 MB / 0.7309 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2992, allocations: 4 kB / 0.731 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001136/0.3004, allocations: 335.8 kB / 0.7313 GB, free: 2.449 MB / 0.5606 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 (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.0009748/0.3014, allocations: 338.4 kB / 0.7316 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003245/0.3046, allocations: 1.308 MB / 0.7329 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3046, allocations: 0 / 0.7329 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.3062, allocations: 0.7449 MB / 0.7336 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.3077, allocations: 319.2 kB / 0.7339 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.3113, allocations: 1.64 MB / 0.7355 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.3119, allocations: 0.9823 MB / 0.7365 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007052/0.3126, allocations: 181.8 kB / 0.7366 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.3129, allocations: 95.25 kB / 0.7367 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.3129, allocations: 0 / 0.7367 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.4323/0.7452, allocations: 17.34 MB / 0.7537 GB, free: 72.46 MB / 0.5762 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)