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.1984/0.1993, allocations: 82.21 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance): time 0.7515/0.9509, allocations: 169.6 MB / 0.7598 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.9706, allocations: 7.903 MB / 0.7675 GB, free: 12.04 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.004484/0.9751, allocations: 64.16 kB / 0.7676 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00838/0.9835, allocations: 1.725 MB / 0.7692 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006411/0.99, allocations: 1.258 MB / 0.7705 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.9926, allocations: 0.5536 MB / 0.771 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005664/0.9982, allocations: 3.172 MB / 0.7741 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/1, allocations: 0.8472 MB / 0.7749 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/1.003, allocations: 0.8195 MB / 0.7757 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/1.006, allocations: 0.9136 MB / 0.7766 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005687/1.006, allocations: 63.12 kB / 0.7767 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/1.009, allocations: 0.7976 MB / 0.7775 GB, free: 8.133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000729/1.01, allocations: 340.2 kB / 0.7778 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002188/1.012, allocations: 0.9237 MB / 0.7787 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004396/1.016, allocations: 2.601 MB / 0.7812 GB, free: 6.133 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.016, allocations: 2.219 kB / 0.7812 GB, free: 6.133 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.305e-06/1.016, allocations: 0 / 0.7812 GB, free: 6.133 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001224/1.016, allocations: 0 / 0.7812 GB, free: 6.133 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.005631/1.022, allocations: 2.109 MB / 0.7833 GB, free: 4.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.022, allocations: 8.719 kB / 0.7833 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/1.024, allocations: 323.9 kB / 0.7836 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/1.028, allocations: 1.678 MB / 0.7852 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/1.028, allocations: 43.16 kB / 0.7853 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.028, allocations: 51.84 kB / 0.7853 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/1.029, allocations: 0.7169 MB / 0.786 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/1.029, allocations: 5.719 kB / 0.786 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/1.029, allocations: 22.25 kB / 0.7861 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/1.03, allocations: 21.22 kB / 0.7861 GB, free: 2.719 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009297/1.03, allocations: 0.5197 MB / 0.7866 GB, free: 2.465 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.005736/1.036, allocations: 3.977 MB / 0.7905 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/1.037, allocations: 282.2 kB / 0.7907 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/1.037, allocations: 115.5 kB / 0.7909 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/1.037, allocations: 2.875 kB / 0.7909 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/1.037, allocations: 41.44 kB / 0.7909 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 4.579e-06/1.037, allocations: 4 kB / 0.7909 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.001346/1.038, allocations: 0.6586 MB / 0.7915 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/1.038, allocations: 58.25 kB / 0.7916 GB, free: 14.45 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.003565/1.042, allocations: 2.761 MB / 0.7943 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/1.042, allocations: 29.7 kB / 0.7943 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009081/1.043, allocations: 0.9398 MB / 0.7952 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/1.043, allocations: 80.89 kB / 0.7953 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/1.043, allocations: 47.44 kB / 0.7954 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.043, allocations: 323 kB / 0.7957 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/1.044, allocations: 128.9 kB / 0.7958 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/1.044, allocations: 328 kB / 0.7961 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/1.044, allocations: 488.4 kB / 0.7966 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.044, allocations: 2.844 kB / 0.7966 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001052/1.046, allocations: 0.695 MB / 0.7973 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.046, allocations: 11.81 kB / 0.7973 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.046, allocations: 7.969 kB / 0.7973 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/1.046, allocations: 69.41 kB / 0.7973 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/1.046, allocations: 81.12 kB / 0.7974 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/1.048, allocations: 1.683 MB / 0.7991 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/1.049, allocations: 72.17 kB / 0.7991 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/1.049, allocations: 27 kB / 0.7992 GB, free: 8.832 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.0008139/1.05, allocations: 0.7226 MB / 0.7999 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/1.05, allocations: 216 kB / 0.8001 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/1.05, allocations: 230.5 kB / 0.8003 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.05, allocations: 2.656 kB / 0.8003 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.05, allocations: 0 / 0.8003 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.05, allocations: 3.938 kB / 0.8003 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/1.052, allocations: 1.149 MB / 0.8014 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.052, allocations: 4 kB / 0.8014 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/1.052, allocations: 51.97 kB / 0.8015 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/1.052, allocations: 52.88 kB / 0.8015 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/1.052, allocations: 12 kB / 0.8015 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/1.054, allocations: 1.67 MB / 0.8032 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.054, allocations: 0 / 0.8032 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000903/1.055, allocations: 0.6865 MB / 0.8038 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/1.056, allocations: 390.2 kB / 0.8042 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/1.056, allocations: 8 kB / 0.8042 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/1.056, allocations: 19.92 kB / 0.8042 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/1.056, allocations: 11.98 kB / 0.8042 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/1.056, allocations: 11.98 kB / 0.8043 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002705/1.059, allocations: 1.956 MB / 0.8062 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/1.059, allocations: 0 / 0.8062 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009661/1.06, allocations: 279.7 kB / 0.8064 GB, free: 1.617 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 (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.0003931/1.061, allocations: 123.3 kB / 0.8065 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008305/1.061, allocations: 436.1 kB / 0.807 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.061, allocations: 320 / 0.807 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003296/1.062, allocations: 246.1 kB / 0.8072 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/1.065, allocations: 0.7819 MB / 0.808 GB, free: 40 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/1.071, allocations: 4.326 MB / 0.8122 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/1.072, allocations: 1.831 MB / 0.814 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009165/1.073, allocations: 288.7 kB / 0.8143 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/1.074, allocations: 83.44 kB / 0.8143 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/1.074, allocations: 0 / 0.8143 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of Templates: time 0.04649/1.12, allocations: 25.15 MB / 0.8389 GB, free: 0.6094 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: