Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance.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.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance") [/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.2441/0.2461, allocations: 80.83 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7558/1.002, allocations: 180.4 MB / 0.7658 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01881/1.021, allocations: 10.55 MB / 0.7761 GB, free: 7.16 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Rooms/BaseClasses/MixedAirHeatMassBalance.mo:10:3-11:54:writable] Warning: Parameter homotopyInitialization has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.005057/1.026, allocations: 78.75 kB / 0.7762 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.007604/1.034, allocations: 1.799 MB / 0.7779 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006138/1.04, allocations: 1.53 MB / 0.7794 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002749/1.043, allocations: 0.7609 MB / 0.7802 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006467/1.049, allocations: 4.259 MB / 0.7843 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/1.051, allocations: 1.2 MB / 0.7855 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/1.055, allocations: 1.223 MB / 0.7867 GB, free: 484 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003543/1.058, allocations: 1.248 MB / 0.7879 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003092/1.059, allocations: 98.03 kB / 0.788 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/1.061, allocations: 0.8759 MB / 0.7889 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006056/1.062, allocations: 478.6 kB / 0.7893 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001681/1.063, allocations: 1.099 MB / 0.7904 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003886/1.067, allocations: 3.171 MB / 0.7935 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.067, allocations: 0 / 0.7935 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/1.067, allocations: 2.75 kB / 0.7935 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.834e-05/1.067, allocations: 0 / 0.7935 GB, free: 12.11 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.004961/1.072, allocations: 2.772 MB / 0.7962 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.072, allocations: 10.09 kB / 0.7962 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/1.074, allocations: 357.6 kB / 0.7966 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/1.077, allocations: 1.89 MB / 0.7984 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/1.077, allocations: 58 kB / 0.7985 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/1.078, allocations: 84 kB / 0.7985 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/1.079, allocations: 1.059 MB / 0.7996 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/1.079, allocations: 7.875 kB / 0.7996 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/1.079, allocations: 32 kB / 0.7996 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/1.079, allocations: 33.3 kB / 0.7996 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/1.081, allocations: 0.7896 MB / 0.8004 GB, free: 6.148 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007124/1.088, allocations: 4.777 MB / 0.8051 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/1.088, allocations: 387.7 kB / 0.8055 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/1.089, allocations: 200.8 kB / 0.8056 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/1.089, allocations: 4 kB / 0.8056 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/1.089, allocations: 38.56 kB / 0.8057 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/1.089, allocations: 0 / 0.8057 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.003505/1.092, allocations: 1.763 MB / 0.8074 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/1.092, allocations: 81.11 kB / 0.8075 GB, free: 14.57 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Rooms/BaseClasses/MixedAirHeatMassBalance.mo:10:3-11:54:writable] Warning: Parameter air.homotopyInitialization has no value, and is fixed during initialization (fixed=true), using available start value (start=false) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004115/1.096, allocations: 3.064 MB / 0.8105 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/1.097, allocations: 33.7 kB / 0.8105 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008932/1.097, allocations: 1.054 MB / 0.8115 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.098, allocations: 122.3 kB / 0.8117 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/1.098, allocations: 130 kB / 0.8118 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.098, allocations: 337.9 kB / 0.8121 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/1.098, allocations: 205.2 kB / 0.8123 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/1.099, allocations: 435.6 kB / 0.8127 GB, free: 9.07 MB / 0.5762 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/1.101, allocations: 1.34 MB / 0.814 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.101, allocations: 8 kB / 0.814 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001928/1.103, allocations: 0.9281 MB / 0.8149 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/1.103, allocations: 46.31 kB / 0.815 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/1.103, allocations: 8 kB / 0.815 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/1.103, allocations: 68.75 kB / 0.8151 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/1.104, allocations: 119.8 kB / 0.8152 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/1.106, allocations: 1.686 MB / 0.8168 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/1.107, allocations: 55.88 kB / 0.8169 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/1.107, allocations: 28 kB / 0.8169 GB, free: 4.488 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001342/1.108, allocations: 0.7953 MB / 0.8177 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/1.109, allocations: 237 kB / 0.8179 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/1.109, allocations: 247.3 kB / 0.8181 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/1.109, allocations: 8 kB / 0.8181 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.109, allocations: 0 / 0.8181 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000663/1.11, allocations: 493.2 kB / 0.8186 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/1.113, allocations: 2.144 MB / 0.8207 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.113, allocations: 4.125 kB / 0.8207 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/1.113, allocations: 68.25 kB / 0.8208 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/1.113, allocations: 60.81 kB / 0.8208 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/1.113, allocations: 15.94 kB / 0.8208 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/1.115, allocations: 1.659 MB / 0.8225 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.115, allocations: 7.938 kB / 0.8225 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/1.116, allocations: 0.9763 MB / 0.8234 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008253/1.117, allocations: 442 kB / 0.8238 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/1.117, allocations: 15.94 kB / 0.8239 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006959/1.118, allocations: 35.88 kB / 0.8239 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/1.118, allocations: 31.97 kB / 0.8239 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/1.118, allocations: 19.98 kB / 0.8239 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002989/1.121, allocations: 2.16 MB / 0.8261 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/1.121, allocations: 0 / 0.8261 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00118/1.122, allocations: 336 kB / 0.8264 GB, free: 10.41 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (air.vol.dynBal.U,air.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004978/1.123, allocations: 191.9 kB / 0.8266 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001131/1.124, allocations: 0.6643 MB / 0.8272 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.124, allocations: 0 / 0.8272 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005161/1.124, allocations: 311.2 kB / 0.8275 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/1.128, allocations: 0.9097 MB / 0.8284 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007411/1.136, allocations: 4.753 MB / 0.833 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/1.138, allocations: 1.946 MB / 0.8349 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001712/1.139, allocations: 387.3 kB / 0.8353 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/1.139, allocations: 111.4 kB / 0.8354 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of SimCode: time 1.463e-06/1.14, allocations: 0 / 0.8354 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of Templates: time 0.05487/1.194, allocations: 31.19 MB / 0.8659 GB, free: 2.184 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)