Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.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.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") translateModel(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") [/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.2322/0.233, allocations: 82.22 MB / 0.5935 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance): time 0.7436/0.9766, allocations: 158.2 MB / 0.748 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.9939, allocations: 7.439 MB / 0.7553 GB, free: 14.57 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Rooms/BaseClasses/AirHeatMassBalanceMixed.mo:12:3-13:54:writable] Warning: Parameter homotopyInitialization has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.004605/0.9986, allocations: 63.31 kB / 0.7553 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006387/1.005, allocations: 1.486 MB / 0.7568 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005253/1.01, allocations: 1.064 MB / 0.7578 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/1.013, allocations: 439.9 kB / 0.7582 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005481/1.018, allocations: 2.701 MB / 0.7609 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/1.02, allocations: 0.7576 MB / 0.7616 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/1.022, allocations: 0.7992 MB / 0.7624 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/1.024, allocations: 0.8766 MB / 0.7632 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/1.024, allocations: 67.28 kB / 0.7633 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/1.026, allocations: 361.1 kB / 0.7637 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003646/1.026, allocations: 323.8 kB / 0.764 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006031/1.026, allocations: 428.8 kB / 0.7644 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/1.029, allocations: 2.02 MB / 0.7663 GB, free: 10 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/1.029, allocations: 2.938 kB / 0.7663 GB, free: 10 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/1.029, allocations: 0 / 0.7663 GB, free: 10 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.125e-05/1.029, allocations: 0 / 0.7663 GB, free: 10 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004622/1.034, allocations: 2.129 MB / 0.7684 GB, free: 8.598 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.034, allocations: 12.94 kB / 0.7684 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/1.035, allocations: 322.9 kB / 0.7687 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/1.038, allocations: 1.576 MB / 0.7703 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/1.039, allocations: 38.59 kB / 0.7703 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/1.039, allocations: 62.94 kB / 0.7704 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/1.04, allocations: 0.7143 MB / 0.7711 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.04, allocations: 0 / 0.7711 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/1.04, allocations: 24.53 kB / 0.7711 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/1.04, allocations: 19.12 kB / 0.7711 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008382/1.041, allocations: 0.5145 MB / 0.7716 GB, free: 7.312 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.006045/1.047, allocations: 3.986 MB / 0.7755 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/1.048, allocations: 274.2 kB / 0.7758 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/1.048, allocations: 121.1 kB / 0.7759 GB, free: 4.625 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/1.048, allocations: 2.969 kB / 0.7759 GB, free: 4.625 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.048, allocations: 33.88 kB / 0.7759 GB, free: 4.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 2.615e-06/1.048, allocations: 4 kB / 0.7759 GB, free: 4.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.001562/1.049, allocations: 0.6604 MB / 0.7766 GB, free: 4.266 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/1.049, allocations: 62.27 kB / 0.7766 GB, free: 4.195 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Rooms/BaseClasses/AirHeatMassBalanceMixed.mo:12:3-13:54:writable] Warning: Parameter air.homotopyInitialization has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004199/1.054, allocations: 2.738 MB / 0.7793 GB, free: 3.453 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/1.054, allocations: 32.02 kB / 0.7793 GB, free: 3.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009529/1.055, allocations: 0.9419 MB / 0.7803 GB, free: 3.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/1.055, allocations: 82.19 kB / 0.7803 GB, free: 3.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/1.055, allocations: 9.719 kB / 0.7803 GB, free: 3.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.055, allocations: 325.2 kB / 0.7807 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/1.055, allocations: 121.5 kB / 0.7808 GB, free: 2.758 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/1.056, allocations: 333.6 kB / 0.7811 GB, free: 2.465 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/1.056, allocations: 187.5 kB / 0.7813 GB, free: 2.434 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.056, allocations: 8.562 kB / 0.7813 GB, free: 2.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00146/1.058, allocations: 0.6806 MB / 0.7819 GB, free: 2.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/1.058, allocations: 5.75 kB / 0.7819 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.058, allocations: 8 kB / 0.782 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/1.058, allocations: 67.81 kB / 0.782 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/1.058, allocations: 82.97 kB / 0.7821 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/1.06, allocations: 1.692 MB / 0.7838 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/1.061, allocations: 73.77 kB / 0.7838 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/1.061, allocations: 26.55 kB / 0.7838 GB, free: 0.6445 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00147/1.063, allocations: 0.7338 MB / 0.7846 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/1.063, allocations: 207.9 kB / 0.7848 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/1.064, allocations: 224.7 kB / 0.785 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.064, allocations: 3.25 kB / 0.785 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.064, allocations: 4.125 kB / 0.785 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/1.064, allocations: 0 / 0.785 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/1.066, allocations: 1.185 MB / 0.7861 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.066, allocations: 2 kB / 0.7861 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/1.066, allocations: 49.48 kB / 0.7862 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/1.066, allocations: 54.31 kB / 0.7862 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/1.067, allocations: 5.5 kB / 0.7862 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/1.068, allocations: 1.665 MB / 0.7879 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.068, allocations: 0 / 0.7879 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.069, allocations: 0.6817 MB / 0.7885 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007704/1.07, allocations: 387.2 kB / 0.7889 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/1.07, allocations: 8.344 kB / 0.7889 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/1.071, allocations: 22.08 kB / 0.7889 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/1.071, allocations: 17.67 kB / 0.789 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/1.071, allocations: 17.22 kB / 0.789 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003487/1.074, allocations: 1.931 MB / 0.7909 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.91e-07/1.074, allocations: 0 / 0.7909 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001395/1.076, allocations: 285 kB / 0.7911 GB, free: 13.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (air.vol.dynBal.U,air.vol.dynBal.m,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000257/1.076, allocations: 116.5 kB / 0.7912 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009/1.077, allocations: 429.3 kB / 0.7916 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.077, allocations: 3.984 kB / 0.7917 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003372/1.077, allocations: 241 kB / 0.7919 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/1.081, allocations: 0.7729 MB / 0.7926 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00849/1.09, allocations: 4.154 MB / 0.7967 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/1.092, allocations: 1.834 MB / 0.7985 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001486/1.093, allocations: 280.8 kB / 0.7988 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/1.094, allocations: 89.3 kB / 0.7988 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/1.094, allocations: 3.938 kB / 0.7988 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of Templates: time 0.05399/1.148, allocations: 24.48 MB / 0.8227 GB, free: 15.67 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; mkfifo Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe >> ../files/Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.sim & ./Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe 2>&1) Environment - environmentSimulation: