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.5484/0.5505, allocations: 80.81 MB / 0.5904 GB, free: 22.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.8296/1.38, allocations: 182.7 MB / 0.7688 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02435/1.405, allocations: 10.6 MB / 0.7792 GB, free: 1.559 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 homotopyInitialization has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.004841/1.41, allocations: 77.03 kB / 0.7793 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007692/1.417, allocations: 1.975 MB / 0.7812 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007491/1.425, allocations: 1.652 MB / 0.7828 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/1.429, allocations: 0.8352 MB / 0.7836 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007916/1.437, allocations: 3.501 MB / 0.787 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/1.439, allocations: 1.377 MB / 0.7884 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004667/1.444, allocations: 1.34 MB / 0.7897 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003942/1.448, allocations: 1.24 MB / 0.7909 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005225/1.448, allocations: 156.4 kB / 0.7911 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/1.451, allocations: 0.8247 MB / 0.7919 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007911/1.452, allocations: 0.5337 MB / 0.7924 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002372/1.455, allocations: 1.16 MB / 0.7935 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006552/1.461, allocations: 3.286 MB / 0.7967 GB, free: 144 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/1.461, allocations: 1.031 kB / 0.7967 GB, free: 144 kB / 0.5762 GB Notification: Performance of FrontEnd: time 3.286e-06/1.461, allocations: 0 / 0.7967 GB, free: 144 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.03e-05/1.461, allocations: 2.156 kB / 0.7967 GB, free: 144 kB / 0.5762 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.006292/1.468, allocations: 2.818 MB / 0.7995 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.468, allocations: 10.97 kB / 0.7995 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/1.469, allocations: 359.1 kB / 0.7998 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/1.473, allocations: 1.9 MB / 0.8017 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/1.473, allocations: 61.06 kB / 0.8018 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/1.473, allocations: 84.66 kB / 0.8018 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/1.475, allocations: 1.047 MB / 0.8029 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/1.475, allocations: 0 / 0.8029 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/1.475, allocations: 34.16 kB / 0.8029 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/1.475, allocations: 27.47 kB / 0.8029 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/1.476, allocations: 0.7992 MB / 0.8037 GB, free: 13.8 MB / 0.5919 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.008142/1.484, allocations: 4.802 MB / 0.8084 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/1.485, allocations: 386 kB / 0.8088 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/1.485, allocations: 213.7 kB / 0.809 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/1.485, allocations: 9.219 kB / 0.809 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/1.485, allocations: 38.47 kB / 0.809 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/1.485, allocations: 0 / 0.809 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34): time 0.003878/1.489, allocations: 1.757 MB / 0.8107 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/1.489, allocations: 83.61 kB / 0.8108 GB, free: 10.8 MB / 0.5919 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.00473/1.494, allocations: 3.079 MB / 0.8138 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/1.494, allocations: 34.7 kB / 0.8138 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001524/1.496, allocations: 1.052 MB / 0.8149 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/1.496, allocations: 121.5 kB / 0.815 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/1.496, allocations: 131.2 kB / 0.8151 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.496, allocations: 332.9 kB / 0.8154 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/1.497, allocations: 204.6 kB / 0.8156 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/1.497, allocations: 441.8 kB / 0.816 GB, free: 9.621 MB / 0.5919 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.002549/1.5, allocations: 1.346 MB / 0.8174 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/1.5, allocations: 4.156 kB / 0.8174 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002037/1.502, allocations: 0.9311 MB / 0.8183 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/1.502, allocations: 46.84 kB / 0.8183 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.502, allocations: 4.75 kB / 0.8183 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/1.502, allocations: 64.75 kB / 0.8184 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/1.503, allocations: 120.9 kB / 0.8185 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.505, allocations: 1.866 MB / 0.8203 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.507, allocations: 26.31 kB / 0.8203 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/1.507, allocations: 36.3 kB / 0.8204 GB, free: 7.422 MB / 0.5919 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.001829/1.509, allocations: 0.7912 MB / 0.8211 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000477/1.509, allocations: 234.5 kB / 0.8214 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/1.51, allocations: 250.9 kB / 0.8216 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.51, allocations: 7.344 kB / 0.8216 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.51, allocations: 0.9062 kB / 0.8216 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007252/1.51, allocations: 488.3 kB / 0.8221 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/1.514, allocations: 2.156 MB / 0.8242 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.514, allocations: 2.625 kB / 0.8242 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/1.515, allocations: 75.48 kB / 0.8243 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/1.515, allocations: 55.3 kB / 0.8243 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/1.515, allocations: 14 kB / 0.8243 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/1.517, allocations: 1.855 MB / 0.8261 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.517, allocations: 5.406 kB / 0.8261 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/1.519, allocations: 0.9712 MB / 0.8271 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.52, allocations: 0.5296 MB / 0.8276 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/1.52, allocations: 8.906 kB / 0.8276 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/1.521, allocations: 25.61 kB / 0.8276 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/1.521, allocations: 28.19 kB / 0.8277 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/1.521, allocations: 20.98 kB / 0.8277 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003425/1.524, allocations: 2.155 MB / 0.8298 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.524, allocations: 0 / 0.8298 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001653/1.526, allocations: 344.3 kB / 0.8301 GB, free: 1.711 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.0006565/1.526, allocations: 188.6 kB / 0.8303 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001406/1.528, allocations: 0.6875 MB / 0.831 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.528, allocations: 6.312 kB / 0.831 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004693/1.528, allocations: 315 kB / 0.8313 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00427/1.533, allocations: 0.9698 MB / 0.8322 GB, free: 192 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007483/1.54, allocations: 4.176 MB / 0.8363 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/1.542, allocations: 1.949 MB / 0.8382 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001863/1.544, allocations: 383.4 kB / 0.8386 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/1.544, allocations: 107.4 kB / 0.8387 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of SimCode: time 1.423e-06/1.544, allocations: 0 / 0.8387 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of Templates: time 0.06914/1.613, allocations: 32.41 MB / 0.8703 GB, free: 9.516 MB / 0.6387 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)