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.181/0.1817, allocations: 82.22 MB / 0.5941 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain): time 0.6192/0.801, allocations: 176.2 MB / 0.7661 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009293/0.8104, allocations: 6.05 MB / 0.772 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.8115, allocations: 21.59 kB / 0.7721 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.8127, allocations: 322.8 kB / 0.7724 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.8161, allocations: 1.212 MB / 0.7736 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.8187, allocations: 1.002 MB / 0.7745 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.8216, allocations: 2.726 MB / 0.7772 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007832/0.8224, allocations: 0.5679 MB / 0.7777 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.8236, allocations: 0.6963 MB / 0.7784 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.8249, allocations: 0.6364 MB / 0.779 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.708e-05/0.825, allocations: 33.72 kB / 0.7791 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.8277, allocations: 1.523 MB / 0.7806 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.828, allocations: 272.9 kB / 0.7808 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.8285, allocations: 445.8 kB / 0.7813 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.8304, allocations: 1.717 MB / 0.7829 GB, free: 6.457 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8304, allocations: 0 / 0.7829 GB, free: 6.457 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8305, allocations: 0 / 0.7829 GB, free: 6.457 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.8305, allocations: 0 / 0.7829 GB, free: 6.457 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00193/0.8324, allocations: 1.108 MB / 0.784 GB, free: 5.543 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.8325, allocations: 8.031 kB / 0.784 GB, free: 5.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.8342, allocations: 261.9 kB / 0.7843 GB, free: 5.434 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008865/0.8351, allocations: 0.5712 MB / 0.7848 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.8352, allocations: 111.5 kB / 0.7849 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.8354, allocations: 63.97 kB / 0.785 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.8366, allocations: 0.7359 MB / 0.7857 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.8366, allocations: 0 / 0.7857 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.8367, allocations: 27.72 kB / 0.7857 GB, free: 4.395 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.8368, allocations: 25.03 kB / 0.7858 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009018/0.8377, allocations: 0.5514 MB / 0.7863 GB, free: 4.117 MB / 0.545 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.003559/0.8412, allocations: 2.711 MB / 0.789 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.8419, allocations: 433.7 kB / 0.7894 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.8421, allocations: 205.6 kB / 0.7896 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/0.8427, allocations: 260.3 kB / 0.7898 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.8428, allocations: 43.41 kB / 0.7898 GB, free: 1.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/0.8428, allocations: 3.984 kB / 0.7899 GB, free: 1.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=36): time 0.002143/0.8449, allocations: 1.265 MB / 0.7911 GB, free: 432 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.845, allocations: 57.09 kB / 0.7911 GB, free: 364 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006968/0.8457, allocations: 0.6256 MB / 0.7918 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.8458, allocations: 38.8 kB / 0.7918 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.846, allocations: 345.3 kB / 0.7921 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.8461, allocations: 130.4 kB / 0.7922 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.8462, allocations: 52.12 kB / 0.7923 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8464, allocations: 368.7 kB / 0.7926 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.8467, allocations: 202 kB / 0.7928 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.8471, allocations: 333.2 kB / 0.7932 GB, free: 14.8 MB / 0.5606 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.009541/0.8566, allocations: 2.57 MB / 0.7957 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8566, allocations: 0 / 0.7957 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001013/0.8576, allocations: 0.7293 MB / 0.7964 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.8577, allocations: 92.67 kB / 0.7965 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.8577, allocations: 9.781 kB / 0.7965 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.8578, allocations: 9.078 kB / 0.7965 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.8582, allocations: 100.1 kB / 0.7966 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.8582, allocations: 12.48 kB / 0.7966 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.8588, allocations: 42.83 kB / 0.7966 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.8588, allocations: 26.86 kB / 0.7967 GB, free: 12.77 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0003382/0.8592, allocations: 230.8 kB / 0.7969 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.8593, allocations: 67.81 kB / 0.7969 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007467/0.86, allocations: 479.8 kB / 0.7974 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.86, allocations: 2.031 kB / 0.7974 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.8601, allocations: 10.94 kB / 0.7974 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005296/0.8606, allocations: 480.4 kB / 0.7979 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.8624, allocations: 1.362 MB / 0.7992 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8624, allocations: 2.938 kB / 0.7992 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.8628, allocations: 79.03 kB / 0.7993 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.8628, allocations: 3.281 kB / 0.7993 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.8629, allocations: 11.59 kB / 0.7993 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.8629, allocations: 6.922 kB / 0.7993 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.8629, allocations: 6.688 kB / 0.7993 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.8639, allocations: 0.8403 MB / 0.8001 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.8641, allocations: 196.3 kB / 0.8003 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.8642, allocations: 11.98 kB / 0.8003 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.8648, allocations: 51.94 kB / 0.8004 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.8649, allocations: 27.91 kB / 0.8004 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.8649, allocations: 23.98 kB / 0.8004 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004702/0.8654, allocations: 443 kB / 0.8008 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8654, allocations: 4 kB / 0.8009 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006691/0.8661, allocations: 199.9 kB / 0.801 GB, free: 9.324 MB / 0.5606 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.0004566/0.8665, allocations: 200.3 kB / 0.8012 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007976/0.8674, allocations: 0.626 MB / 0.8018 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.8674, allocations: 4 kB / 0.8018 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.8676, allocations: 197.8 kB / 0.802 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.8696, allocations: 359.1 kB / 0.8024 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.8719, allocations: 1.701 MB / 0.804 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.8724, allocations: 0.949 MB / 0.805 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005465/0.873, allocations: 161.2 kB / 0.8051 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.8731, allocations: 47.44 kB / 0.8052 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.8731, allocations: 4 kB / 0.8052 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of Templates: time 0.02127/0.8944, allocations: 12.88 MB / 0.8177 GB, free: 8.297 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatGain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: