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.2303/0.2325, allocations: 80.83 MB / 0.5899 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance): time 0.7637/0.9962, allocations: 171.9 MB / 0.7578 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01457/1.011, allocations: 7.927 MB / 0.7655 GB, free: 11.76 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.00422/1.015, allocations: 66.34 kB / 0.7656 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006866/1.022, allocations: 1.742 MB / 0.7673 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006022/1.028, allocations: 1.261 MB / 0.7685 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/1.031, allocations: 0.5762 MB / 0.7691 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007095/1.038, allocations: 2.793 MB / 0.7718 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/1.04, allocations: 0.9887 MB / 0.7728 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/1.043, allocations: 0.9897 MB / 0.7737 GB, free: 8.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/1.046, allocations: 1.021 MB / 0.7747 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004679/1.046, allocations: 118.1 kB / 0.7748 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/1.049, allocations: 0.7655 MB / 0.7756 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005843/1.05, allocations: 414.7 kB / 0.776 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/1.052, allocations: 0.9879 MB / 0.7769 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004427/1.056, allocations: 2.852 MB / 0.7797 GB, free: 5.047 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.056, allocations: 0 / 0.7797 GB, free: 5.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/1.056, allocations: 0 / 0.7797 GB, free: 5.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5e-05/1.056, allocations: 0 / 0.7797 GB, free: 5.047 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.004744/1.061, allocations: 2.509 MB / 0.7822 GB, free: 3.215 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/1.061, allocations: 10.12 kB / 0.7822 GB, free: 3.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/1.063, allocations: 330.4 kB / 0.7825 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/1.066, allocations: 1.767 MB / 0.7842 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/1.066, allocations: 44.31 kB / 0.7843 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/1.066, allocations: 61.83 kB / 0.7843 GB, free: 1.816 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/1.067, allocations: 0.7106 MB / 0.785 GB, free: 1.344 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/1.068, allocations: 7.875 kB / 0.785 GB, free: 1.336 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/1.068, allocations: 27.66 kB / 0.7851 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/1.068, allocations: 15.59 kB / 0.7851 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009492/1.069, allocations: 0.5183 MB / 0.7856 GB, free: 1.062 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.007505/1.076, allocations: 4.045 MB / 0.7895 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007905/1.077, allocations: 275.9 kB / 0.7898 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/1.077, allocations: 124 kB / 0.7899 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/1.077, allocations: 6.438 kB / 0.7899 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.889e-05/1.077, allocations: 41.75 kB / 0.79 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 9.527e-06/1.077, allocations: 0 / 0.79 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.00234/1.08, allocations: 0.6557 MB / 0.7906 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001763/1.08, allocations: 58.31 kB / 0.7906 GB, free: 13 MB / 0.5606 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=false) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006916/1.087, allocations: 2.864 MB / 0.7934 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.034e-05/1.087, allocations: 29.7 kB / 0.7935 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/1.088, allocations: 0.9464 MB / 0.7944 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/1.089, allocations: 85.27 kB / 0.7945 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/1.089, allocations: 93.95 kB / 0.7946 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003406/1.089, allocations: 325.9 kB / 0.7949 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/1.09, allocations: 124.8 kB / 0.795 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/1.09, allocations: 335.7 kB / 0.7953 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.091, allocations: 481.8 kB / 0.7958 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.091, allocations: 0 / 0.7958 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002111/1.093, allocations: 0.6911 MB / 0.7965 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/1.093, allocations: 11.98 kB / 0.7965 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/1.093, allocations: 6.031 kB / 0.7965 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/1.094, allocations: 64.86 kB / 0.7965 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/1.094, allocations: 87.83 kB / 0.7966 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/1.097, allocations: 1.869 MB / 0.7984 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.098, allocations: 71.42 kB / 0.7985 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/1.098, allocations: 24 kB / 0.7985 GB, free: 5.695 MB / 0.5606 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 (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.001302/1.099, allocations: 0.7324 MB / 0.7992 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005418/1.1, allocations: 209.3 kB / 0.7994 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/1.101, allocations: 228.7 kB / 0.7997 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.101, allocations: 0 / 0.7997 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/1.101, allocations: 0 / 0.7997 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.101, allocations: 4 kB / 0.7997 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/1.103, allocations: 1.182 MB / 0.8008 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.103, allocations: 0 / 0.8008 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/1.103, allocations: 51.91 kB / 0.8009 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/1.103, allocations: 52.83 kB / 0.8009 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/1.103, allocations: 7.938 kB / 0.8009 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/1.106, allocations: 1.861 MB / 0.8027 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.106, allocations: 8 kB / 0.8028 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/1.107, allocations: 0.6782 MB / 0.8034 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008817/1.108, allocations: 406.2 kB / 0.8038 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/1.108, allocations: 4 kB / 0.8038 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007566/1.109, allocations: 19.98 kB / 0.8038 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/1.109, allocations: 11.98 kB / 0.8038 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/1.109, allocations: 15.98 kB / 0.8039 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0036/1.112, allocations: 2.018 MB / 0.8058 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.113, allocations: 0 / 0.8058 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001309/1.114, allocations: 283.7 kB / 0.8061 GB, free: 13.69 MB / 0.5762 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 (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.000294/1.114, allocations: 122.3 kB / 0.8062 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001034/1.115, allocations: 450.3 kB / 0.8066 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.115, allocations: 0 / 0.8066 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/1.116, allocations: 238.6 kB / 0.8069 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/1.119, allocations: 0.851 MB / 0.8077 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007688/1.127, allocations: 4.243 MB / 0.8118 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/1.13, allocations: 1.836 MB / 0.8136 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00166/1.132, allocations: 355.8 kB / 0.814 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/1.132, allocations: 111.4 kB / 0.8141 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.132, allocations: 0 / 0.8141 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.06714/1.199, allocations: 27.85 MB / 0.8413 GB, free: 9.984 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.makefile (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)