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.1956/0.1966, allocations: 82.22 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6182/0.8148, allocations: 178 MB / 0.7679 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.8346, allocations: 10.43 MB / 0.7781 GB, free: 10.2 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.004465/0.8391, allocations: 65 kB / 0.7781 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.007536/0.8466, allocations: 1.823 MB / 0.7799 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006703/0.8534, allocations: 1.522 MB / 0.7814 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.8566, allocations: 0.7507 MB / 0.7821 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007639/0.8643, allocations: 4.192 MB / 0.7862 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002631/0.867, allocations: 1.168 MB / 0.7874 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/0.8705, allocations: 1.14 MB / 0.7885 GB, free: 4.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.8739, allocations: 1.163 MB / 0.7896 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006918/0.8746, allocations: 74 kB / 0.7897 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.8784, allocations: 0.8502 MB / 0.7905 GB, free: 3.785 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.8798, allocations: 445.8 kB / 0.7909 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00331/0.8831, allocations: 1.075 MB / 0.792 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005506/0.8886, allocations: 3.057 MB / 0.795 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8887, allocations: 0 / 0.795 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8887, allocations: 0 / 0.795 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001286/0.8888, allocations: 0 / 0.795 GB, free: 0.8789 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.005419/0.8942, allocations: 2.349 MB / 0.7973 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.8943, allocations: 10.56 kB / 0.7973 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.8962, allocations: 362.3 kB / 0.7976 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003698/0.8999, allocations: 1.791 MB / 0.7994 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/0.9, allocations: 62.56 kB / 0.7994 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.9001, allocations: 83.59 kB / 0.7995 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.9018, allocations: 1.055 MB / 0.8005 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.9019, allocations: 0 / 0.8005 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/0.902, allocations: 38.88 kB / 0.8006 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.902, allocations: 29.95 kB / 0.8006 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.9032, allocations: 0.7968 MB / 0.8014 GB, free: 12.6 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.007623/0.9109, allocations: 4.7 MB / 0.806 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.9116, allocations: 394 kB / 0.8064 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.9119, allocations: 205.4 kB / 0.8066 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.912, allocations: 7.984 kB / 0.8066 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.912, allocations: 42.5 kB / 0.8066 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.717e-06/0.912, allocations: 0 / 0.8066 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.003761/0.9158, allocations: 1.754 MB / 0.8083 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.9159, allocations: 85.09 kB / 0.8084 GB, free: 5.52 MB / 0.5606 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.004409/0.9203, allocations: 2.967 MB / 0.8113 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.9204, allocations: 33.7 kB / 0.8113 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009793/0.9214, allocations: 1.054 MB / 0.8124 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.9215, allocations: 124.9 kB / 0.8125 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.9216, allocations: 53.7 kB / 0.8125 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.9218, allocations: 330 kB / 0.8128 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.9221, allocations: 209.1 kB / 0.813 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.9226, allocations: 435.6 kB / 0.8135 GB, free: 200 kB / 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: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.9251, allocations: 1.352 MB / 0.8148 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.9251, allocations: 0 / 0.8148 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001793/0.9269, allocations: 0.943 MB / 0.8157 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.927, allocations: 37.7 kB / 0.8157 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.927, allocations: 8 kB / 0.8157 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.9272, allocations: 68.81 kB / 0.8158 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.9276, allocations: 115.8 kB / 0.8159 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.9292, allocations: 1.686 MB / 0.8176 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.9307, allocations: 56.77 kB / 0.8176 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.9307, allocations: 28 kB / 0.8176 GB, free: 11.61 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 sytem: 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.001376/0.9321, allocations: 0.7989 MB / 0.8184 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/0.9325, allocations: 233.1 kB / 0.8186 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.933, allocations: 255.2 kB / 0.8189 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.933, allocations: 0 / 0.8189 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.933, allocations: 4 kB / 0.8189 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006777/0.9337, allocations: 485.3 kB / 0.8194 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.9372, allocations: 2.104 MB / 0.8214 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.9373, allocations: 4.281 kB / 0.8214 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.9376, allocations: 75.91 kB / 0.8215 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.9378, allocations: 52.94 kB / 0.8215 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.9378, allocations: 23.94 kB / 0.8216 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.9396, allocations: 1.659 MB / 0.8232 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.9396, allocations: 4.031 kB / 0.8232 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.9411, allocations: 0.9762 MB / 0.8241 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.9422, allocations: 426.1 kB / 0.8245 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005341/0.9428, allocations: 19.86 kB / 0.8246 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.9439, allocations: 40.03 kB / 0.8246 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.944, allocations: 23.97 kB / 0.8246 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.9441, allocations: 15.98 kB / 0.8246 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003975/0.948, allocations: 2.094 MB / 0.8267 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9481, allocations: 0 / 0.8267 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001684/0.9498, allocations: 343.9 kB / 0.827 GB, free: 1.652 MB / 0.5762 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.000526/0.9503, allocations: 187.7 kB / 0.8272 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.9516, allocations: 0.6594 MB / 0.8278 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.9516, allocations: 4.188 kB / 0.8278 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.9521, allocations: 314.4 kB / 0.8281 GB, free: 488 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005948/0.958, allocations: 0.9054 MB / 0.829 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008522/0.9666, allocations: 4.84 MB / 0.8337 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002738/0.9693, allocations: 1.942 MB / 0.8356 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001797/0.9712, allocations: 346.5 kB / 0.836 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.9716, allocations: 103.4 kB / 0.8361 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.9716, allocations: 0 / 0.8361 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of Templates: time 0.06607/1.038, allocations: 29.99 MB / 0.8654 GB, free: 10.63 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.MixedAirHeatMassBalance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: