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.2006/0.2026, allocations: 80.84 MB / 0.6706 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain): time 0.726/0.9287, allocations: 180.7 MB / 0.8471 GB, free: 308 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009431/0.9382, allocations: 6.051 MB / 0.853 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000865/0.9391, allocations: 25.62 kB / 0.8531 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.9404, allocations: 385.9 kB / 0.8534 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003505/0.9439, allocations: 1.297 MB / 0.8547 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.9468, allocations: 1.102 MB / 0.8558 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.9496, allocations: 1.987 MB / 0.8577 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.9506, allocations: 0.6727 MB / 0.8584 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.9522, allocations: 0.8206 MB / 0.8592 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.9537, allocations: 0.6471 MB / 0.8598 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.9538, allocations: 78.25 kB / 0.8599 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.9578, allocations: 1.372 MB / 0.8612 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006084/0.9584, allocations: 323.7 kB / 0.8615 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000858/0.9593, allocations: 470.8 kB / 0.862 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005819/0.9651, allocations: 1.698 MB / 0.8636 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.9652, allocations: 2.562 kB / 0.8636 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.496e-06/0.9652, allocations: 0 / 0.8636 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001052/0.9653, allocations: 0 / 0.8636 GB, free: 4.5 MB / 0.6231 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.004694/0.97, allocations: 1.286 MB / 0.8649 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.9701, allocations: 8.031 kB / 0.8649 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.9724, allocations: 262.7 kB / 0.8652 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.9739, allocations: 0.5872 MB / 0.8657 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.9741, allocations: 112.6 kB / 0.8658 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.9742, allocations: 64 kB / 0.8659 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.9755, allocations: 0.7285 MB / 0.8666 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.9756, allocations: 3.938 kB / 0.8666 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.9756, allocations: 28 kB / 0.8666 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.9757, allocations: 29.23 kB / 0.8667 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008921/0.9766, allocations: 0.5438 MB / 0.8672 GB, free: 0.7227 MB / 0.6231 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.004003/0.9806, allocations: 2.706 MB / 0.8698 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/0.9812, allocations: 432.8 kB / 0.8703 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.9815, allocations: 201.9 kB / 0.8704 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/0.9822, allocations: 234.4 kB / 0.8707 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.9822, allocations: 38.84 kB / 0.8707 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 2.354e-06/0.9822, allocations: 0 / 0.8707 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.002423/0.9847, allocations: 1.264 MB / 0.8719 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.9847, allocations: 63.2 kB / 0.872 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.9855, allocations: 0.6289 MB / 0.8726 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.9855, allocations: 33.7 kB / 0.8726 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.9858, allocations: 344.2 kB / 0.873 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.9859, allocations: 126.2 kB / 0.8731 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.9861, allocations: 110.2 kB / 0.8732 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.9863, allocations: 378.7 kB / 0.8736 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.9866, allocations: 205 kB / 0.8738 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.987, allocations: 327.7 kB / 0.8741 GB, free: 9.293 MB / 0.6387 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.009702/0.9968, allocations: 2.325 MB / 0.8763 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.9968, allocations: 4 kB / 0.8763 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001213/0.998, allocations: 0.7266 MB / 0.8771 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/0.9981, allocations: 93.72 kB / 0.8771 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.9981, allocations: 4.875 kB / 0.8771 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.9982, allocations: 4 kB / 0.8771 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.9986, allocations: 103.8 kB / 0.8772 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.9986, allocations: 12.38 kB / 0.8773 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.9992, allocations: 20 kB / 0.8773 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.9993, allocations: 27.98 kB / 0.8773 GB, free: 5.816 MB / 0.6387 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.0004943/0.9998, allocations: 237.6 kB / 0.8775 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.9999, allocations: 67.25 kB / 0.8776 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000808/1.001, allocations: 481.7 kB / 0.8781 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.001, allocations: 7.938 kB / 0.8781 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.001, allocations: 0 / 0.8781 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005723/1.001, allocations: 480 kB / 0.8785 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/1.003, allocations: 1.362 MB / 0.8799 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.003, allocations: 8 kB / 0.8799 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/1.004, allocations: 79.91 kB / 0.8799 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.004, allocations: 4 kB / 0.8799 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/1.004, allocations: 8 kB / 0.8799 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/1.004, allocations: 11.92 kB / 0.88 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.004, allocations: 4 kB / 0.88 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/1.005, allocations: 0.8295 MB / 0.8808 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/1.005, allocations: 204.3 kB / 0.881 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-05/1.006, allocations: 11.98 kB / 0.881 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/1.006, allocations: 23.98 kB / 0.881 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/1.006, allocations: 39.84 kB / 0.881 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/1.006, allocations: 27.97 kB / 0.8811 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006762/1.007, allocations: 443 kB / 0.8815 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.007, allocations: 0 / 0.8815 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001044/1.008, allocations: 196 kB / 0.8817 GB, free: 1.129 MB / 0.6387 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.0007928/1.009, allocations: 203.3 kB / 0.8819 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001194/1.01, allocations: 0.6331 MB / 0.8825 GB, free: 268 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.01, allocations: 4.875 kB / 0.8825 GB, free: 264 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/1.01, allocations: 204 kB / 0.8827 GB, free: 60 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/1.012, allocations: 379.3 kB / 0.883 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/1.015, allocations: 1.355 MB / 0.8844 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/1.016, allocations: 0.9489 MB / 0.8853 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006683/1.017, allocations: 161.2 kB / 0.8855 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/1.017, allocations: 55.44 kB / 0.8855 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of SimCode: time 1.242e-06/1.017, allocations: 0 / 0.8855 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.0238/1.041, allocations: 13.79 MB / 0.899 GB, free: 15.43 MB / 0.67 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)