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.1739/0.1758, allocations: 80.84 MB / 0.5899 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6493/0.8252, allocations: 180.3 MB / 0.7659 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.8425, allocations: 10.47 MB / 0.7761 GB, free: 7.363 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.00417/0.8467, allocations: 71.22 kB / 0.7762 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006519/0.8532, allocations: 1.835 MB / 0.778 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005864/0.8591, allocations: 1.519 MB / 0.7795 GB, free: 4.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.862, allocations: 0.7698 MB / 0.7802 GB, free: 4.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006056/0.8681, allocations: 3.517 MB / 0.7837 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.8703, allocations: 1.356 MB / 0.785 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.8739, allocations: 1.373 MB / 0.7863 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/0.8771, allocations: 1.286 MB / 0.7876 GB, free: 56 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.8775, allocations: 153.7 kB / 0.7877 GB, free: 56 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.88, allocations: 0.8651 MB / 0.7886 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005781/0.8806, allocations: 0.5351 MB / 0.7891 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.8823, allocations: 1.157 MB / 0.7902 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.8869, allocations: 3.324 MB / 0.7935 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.8869, allocations: 0 / 0.7935 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8869, allocations: 0 / 0.7935 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.129e-05/0.887, allocations: 0 / 0.7935 GB, free: 12.28 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.005104/0.8921, allocations: 2.82 MB / 0.7962 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.8922, allocations: 14.78 kB / 0.7962 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.8936, allocations: 357.3 kB / 0.7966 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/0.897, allocations: 1.901 MB / 0.7984 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.8971, allocations: 58 kB / 0.7985 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.8972, allocations: 84 kB / 0.7986 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.8989, allocations: 1.051 MB / 0.7996 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.899, allocations: 7.875 kB / 0.7996 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.632e-05/0.899, allocations: 32 kB / 0.7996 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.8991, allocations: 33.3 kB / 0.7997 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.9004, allocations: 0.7896 MB / 0.8004 GB, free: 6.18 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.007575/0.908, allocations: 4.765 MB / 0.8051 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.9086, allocations: 399.9 kB / 0.8055 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.9088, allocations: 201.4 kB / 0.8057 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.9089, allocations: 4 kB / 0.8057 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.9089, allocations: 42.5 kB / 0.8057 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.9089, allocations: 0 / 0.8057 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.003429/0.9124, allocations: 1.759 MB / 0.8074 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.9124, allocations: 81.11 kB / 0.8075 GB, free: 14.6 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.003973/0.9164, allocations: 3.068 MB / 0.8105 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.9165, allocations: 33.7 kB / 0.8105 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009699/0.9175, allocations: 1.05 MB / 0.8116 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.9176, allocations: 122.3 kB / 0.8117 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.9178, allocations: 134 kB / 0.8118 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.918, allocations: 334 kB / 0.8121 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.9183, allocations: 201.2 kB / 0.8123 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.9188, allocations: 439.6 kB / 0.8127 GB, free: 9.094 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.002317/0.9211, allocations: 1.336 MB / 0.814 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9211, allocations: 4 kB / 0.814 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001467/0.9226, allocations: 0.9319 MB / 0.8149 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.9226, allocations: 46.34 kB / 0.815 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.9227, allocations: 12 kB / 0.815 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.9229, allocations: 68.75 kB / 0.8151 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.9233, allocations: 119.8 kB / 0.8152 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.925, allocations: 1.869 MB / 0.817 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.9261, allocations: 55.88 kB / 0.8171 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.9262, allocations: 28 kB / 0.8171 GB, free: 4.324 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.001156/0.9273, allocations: 0.7996 MB / 0.8179 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.9276, allocations: 229.1 kB / 0.8181 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.928, allocations: 247.3 kB / 0.8183 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.928, allocations: 4 kB / 0.8183 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.928, allocations: 48 / 0.8183 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006655/0.9287, allocations: 497.2 kB / 0.8188 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.932, allocations: 2.148 MB / 0.8209 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9321, allocations: 4.062 kB / 0.8209 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.9324, allocations: 75.91 kB / 0.821 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.9326, allocations: 52.81 kB / 0.821 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.9326, allocations: 16 kB / 0.821 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.9341, allocations: 1.845 MB / 0.8228 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.9341, allocations: 7.969 kB / 0.8229 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.9355, allocations: 0.9753 MB / 0.8238 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008859/0.9364, allocations: 446 kB / 0.8242 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.9366, allocations: 8 kB / 0.8242 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.9373, allocations: 39.94 kB / 0.8243 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.9374, allocations: 31.84 kB / 0.8243 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.9375, allocations: 19.98 kB / 0.8243 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003484/0.941, allocations: 2.164 MB / 0.8264 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.941, allocations: 0 / 0.8264 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001695/0.9427, allocations: 336 kB / 0.8268 GB, free: 10.05 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.0006167/0.9433, allocations: 194.8 kB / 0.8269 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.9447, allocations: 0.694 MB / 0.8276 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.9447, allocations: 4 kB / 0.8276 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.9451, allocations: 307.8 kB / 0.8279 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/0.9492, allocations: 0.9769 MB / 0.8289 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007377/0.9566, allocations: 4.753 MB / 0.8335 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.9582, allocations: 1.947 MB / 0.8354 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001653/0.9598, allocations: 425.6 kB / 0.8358 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.9601, allocations: 123.4 kB / 0.8359 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.9601, allocations: 0 / 0.8359 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of Templates: time 0.06595/1.026, allocations: 32.87 MB / 0.868 GB, free: 60 kB / 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)