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.1864/0.1886, allocations: 80.84 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.02904/0.2177, allocations: 22.66 MB / 0.6927 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007905/0.2257, allocations: 4.479 MB / 0.6971 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.2268, allocations: 19.88 kB / 0.6971 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.2284, allocations: 433.4 kB / 0.6976 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.2319, allocations: 1.022 MB / 0.6986 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.2348, allocations: 0.786 MB / 0.6993 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003118/0.2379, allocations: 1.79 MB / 0.7011 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.2392, allocations: 0.5563 MB / 0.7016 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.2414, allocations: 0.8677 MB / 0.7025 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.2429, allocations: 0.6616 MB / 0.7031 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000274/0.2432, allocations: 60 kB / 0.7032 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.245, allocations: 0.6865 MB / 0.7038 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003699/0.2454, allocations: 199.3 kB / 0.704 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008447/0.2463, allocations: 449.6 kB / 0.7045 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002941/0.2492, allocations: 1.328 MB / 0.7057 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2492, allocations: 7.922 kB / 0.7058 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2493, allocations: 0 / 0.7058 GB, free: 13.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.808e-05/0.2493, allocations: 0 / 0.7058 GB, free: 13.89 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.003053/0.2524, allocations: 1.275 MB / 0.707 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2525, allocations: 8.031 kB / 0.707 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/0.256, allocations: 0.5421 MB / 0.7075 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.2573, allocations: 0.5925 MB / 0.7081 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.2574, allocations: 45.31 kB / 0.7082 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.2575, allocations: 56 kB / 0.7082 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.2601, allocations: 1.098 MB / 0.7093 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.2602, allocations: 7.938 kB / 0.7093 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.2603, allocations: 24 kB / 0.7093 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/0.2603, allocations: 27.98 kB / 0.7093 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.2634, allocations: 0.9874 MB / 0.7103 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006601/0.27, allocations: 4.95 MB / 0.7151 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.2725, allocations: 0.783 MB / 0.7159 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.2739, allocations: 456.5 kB / 0.7163 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006997/0.2746, allocations: 0.8272 MB / 0.7172 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/0.2762, allocations: 0.6656 MB / 0.7178 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of pre-optimization done (n=46): time 3.367e-06/0.2763, allocations: 0 / 0.7178 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of matching and sorting (n=46): time 0.004556/0.2808, allocations: 1.544 MB / 0.7193 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.281, allocations: 346.1 kB / 0.7196 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2821, allocations: 0.7546 MB / 0.7204 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.2822, allocations: 33.7 kB / 0.7204 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.2826, allocations: 439.5 kB / 0.7208 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.2828, allocations: 138.1 kB / 0.721 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.2831, allocations: 154.2 kB / 0.7211 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2832, allocations: 330 kB / 0.7214 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.2845, allocations: 457.3 kB / 0.7219 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.2861, allocations: 0.7144 MB / 0.7226 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/0.2891, allocations: 1.242 MB / 0.7238 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.2891, allocations: 7.938 kB / 0.7238 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003564/0.2927, allocations: 1.39 MB / 0.7251 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/0.2928, allocations: 105.2 kB / 0.7252 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.2928, allocations: 8 kB / 0.7252 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.2928, allocations: 12 kB / 0.7253 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.2939, allocations: 219.6 kB / 0.7255 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.2939, allocations: 12 kB / 0.7255 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.2952, allocations: 182.9 kB / 0.7256 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-05/0.2953, allocations: 43.97 kB / 0.7257 GB, free: 8.297 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.0005152/0.2958, allocations: 360.3 kB / 0.726 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.2961, allocations: 86.97 kB / 0.7261 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/0.3002, allocations: 1.692 MB / 0.7278 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.3002, allocations: 11.98 kB / 0.7278 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3002, allocations: 0 / 0.7278 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3002, allocations: 7.984 kB / 0.7278 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.3014, allocations: 0.7559 MB / 0.7285 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.3014, allocations: 0 / 0.7285 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/0.3022, allocations: 147.8 kB / 0.7287 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3022, allocations: 0 / 0.7287 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.3023, allocations: 23.98 kB / 0.7287 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3023, allocations: 0 / 0.7287 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3023, allocations: 0 / 0.7287 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.3055, allocations: 1.338 MB / 0.73 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.3059, allocations: 159.8 kB / 0.7301 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.3061, allocations: 27.84 kB / 0.7302 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009346/0.307, allocations: 111.9 kB / 0.7303 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.3071, allocations: 27.97 kB / 0.7303 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.3072, allocations: 27.97 kB / 0.7303 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008041/0.308, allocations: 0.5771 MB / 0.7309 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/0.308, allocations: 0 / 0.7309 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001454/0.3095, allocations: 327.8 kB / 0.7312 GB, free: 2.488 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.0009779/0.3105, allocations: 355.7 kB / 0.7315 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003264/0.3138, allocations: 1.296 MB / 0.7328 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.3138, allocations: 0 / 0.7328 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.3153, allocations: 0.7487 MB / 0.7335 GB, free: 24 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.317, allocations: 319.2 kB / 0.7338 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.3208, allocations: 1.64 MB / 0.7355 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.3215, allocations: 0.9823 MB / 0.7364 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007533/0.3222, allocations: 185.8 kB / 0.7366 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.3225, allocations: 79.39 kB / 0.7367 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.3225, allocations: 0 / 0.7367 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.4495/0.772, allocations: 17.66 MB / 0.7539 GB, free: 71.87 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)