Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.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.MixedAirHeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain") translateModel(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain") [/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.5575/0.5595, allocations: 80.81 MB / 0.5904 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain): time 0.8605/1.42, allocations: 180.7 MB / 0.7669 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01224/1.432, allocations: 6.062 MB / 0.7728 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/1.435, allocations: 22.91 kB / 0.7728 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/1.436, allocations: 389.3 kB / 0.7732 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006028/1.442, allocations: 1.299 MB / 0.7745 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004734/1.447, allocations: 1.094 MB / 0.7755 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005115/1.452, allocations: 1.989 MB / 0.7775 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/1.454, allocations: 0.6765 MB / 0.7781 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/1.456, allocations: 0.8117 MB / 0.7789 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/1.458, allocations: 0.6395 MB / 0.7796 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002297/1.458, allocations: 84.2 kB / 0.7796 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004458/1.462, allocations: 1.365 MB / 0.781 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004529/1.463, allocations: 320.7 kB / 0.7813 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007653/1.464, allocations: 468.9 kB / 0.7817 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003534/1.467, allocations: 1.686 MB / 0.7834 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/1.467, allocations: 0 / 0.7834 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.385e-06/1.467, allocations: 1.203 kB / 0.7834 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.505e-05/1.467, allocations: 2.844 kB / 0.7834 GB, free: 1.328 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002495/1.47, allocations: 1.274 MB / 0.7846 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/1.47, allocations: 8.594 kB / 0.7846 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/1.472, allocations: 265 kB / 0.7849 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009817/1.473, allocations: 0.5677 MB / 0.7854 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/1.473, allocations: 114 kB / 0.7855 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/1.473, allocations: 62.78 kB / 0.7856 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/1.474, allocations: 0.7326 MB / 0.7863 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/1.474, allocations: 0 / 0.7863 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/1.474, allocations: 33.34 kB / 0.7864 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/1.474, allocations: 20.5 kB / 0.7864 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/1.475, allocations: 0.5467 MB / 0.7869 GB, free: 16.07 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.00415/1.479, allocations: 2.72 MB / 0.7896 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007982/1.48, allocations: 436.2 kB / 0.79 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/1.481, allocations: 203.7 kB / 0.7902 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006591/1.481, allocations: 233.5 kB / 0.7904 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/1.481, allocations: 39.38 kB / 0.7904 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/1.481, allocations: 0.7812 kB / 0.7904 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.003101/1.484, allocations: 1.269 MB / 0.7917 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/1.484, allocations: 53.78 kB / 0.7917 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009611/1.485, allocations: 0.621 MB / 0.7923 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/1.485, allocations: 38.12 kB / 0.7924 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/1.486, allocations: 348.6 kB / 0.7927 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/1.486, allocations: 124 kB / 0.7928 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/1.486, allocations: 109.4 kB / 0.7929 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002017/1.486, allocations: 372.1 kB / 0.7933 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/1.487, allocations: 208.2 kB / 0.7935 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/1.487, allocations: 333.3 kB / 0.7938 GB, free: 13.09 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: vol.dynBal.medium.p = vol.dynBal.p_start (boundary.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.497, allocations: 2.339 MB / 0.7961 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.497, allocations: 0 / 0.7961 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001593/1.499, allocations: 0.7319 MB / 0.7968 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/1.499, allocations: 96.92 kB / 0.7969 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/1.499, allocations: 5.078 kB / 0.7969 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.933e-05/1.499, allocations: 8.688 kB / 0.7969 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/1.5, allocations: 106.1 kB / 0.797 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/1.5, allocations: 5.031 kB / 0.797 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008599/1.501, allocations: 20.14 kB / 0.797 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/1.501, allocations: 22.41 kB / 0.797 GB, free: 12.32 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (QLat_flow.i_x,QSen_flow.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 59 * 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.0006037/1.501, allocations: 244.1 kB / 0.7973 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/1.502, allocations: 70.44 kB / 0.7973 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/1.503, allocations: 483.4 kB / 0.7978 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.503, allocations: 5.062 kB / 0.7978 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.503, allocations: 0.9375 kB / 0.7978 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000616/1.503, allocations: 474.3 kB / 0.7983 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/1.506, allocations: 1.358 MB / 0.7996 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.506, allocations: 3.5 kB / 0.7996 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/1.506, allocations: 79.62 kB / 0.7997 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/1.507, allocations: 7.281 kB / 0.7997 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/1.507, allocations: 10.48 kB / 0.7997 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.05e-05/1.507, allocations: 10.25 kB / 0.7997 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/1.507, allocations: 7.438 kB / 0.7997 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/1.508, allocations: 0.8305 MB / 0.8005 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/1.509, allocations: 202.4 kB / 0.8007 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/1.509, allocations: 12.86 kB / 0.8007 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007645/1.51, allocations: 26.61 kB / 0.8007 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/1.51, allocations: 34.2 kB / 0.8008 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.51, allocations: 24.5 kB / 0.8008 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007169/1.511, allocations: 441.6 kB / 0.8012 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.511, allocations: 0 / 0.8012 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00107/1.512, allocations: 199.9 kB / 0.8014 GB, free: 11.06 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (vol.dynBal.U,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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000729/1.513, allocations: 195.9 kB / 0.8016 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001245/1.514, allocations: 0.6627 MB / 0.8022 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.514, allocations: 4.516 kB / 0.8023 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/1.514, allocations: 203.1 kB / 0.8024 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.516, allocations: 386.1 kB / 0.8028 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/1.519, allocations: 1.381 MB / 0.8042 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007514/1.52, allocations: 0.9519 MB / 0.8051 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008403/1.521, allocations: 150.8 kB / 0.8052 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/1.521, allocations: 52.14 kB / 0.8053 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of SimCode: time 2.946e-06/1.521, allocations: 0 / 0.8053 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of Templates: time 0.03228/1.554, allocations: 13.51 MB / 0.8185 GB, free: 5.285 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.makefile (rm -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.pipe >> ../files/Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.sim & ./Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.pipe 2>&1)