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.5457/0.5481, allocations: 80.81 MB / 0.5904 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance): time 0.7229/1.271, allocations: 174.3 MB / 0.7606 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0208/1.292, allocations: 8.051 MB / 0.7685 GB, free: 1.699 MB / 0.5762 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.005656/1.298, allocations: 68.12 kB / 0.7685 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01181/1.31, allocations: 1.869 MB / 0.7704 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009624/1.319, allocations: 1.374 MB / 0.7717 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00429/1.324, allocations: 0.6218 MB / 0.7723 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009483/1.333, allocations: 2.804 MB / 0.7751 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00294/1.336, allocations: 0.9807 MB / 0.776 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/1.341, allocations: 0.9626 MB / 0.777 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004868/1.346, allocations: 0.9847 MB / 0.7779 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009024/1.347, allocations: 120.2 kB / 0.778 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00387/1.351, allocations: 0.7449 MB / 0.7788 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/1.352, allocations: 410.4 kB / 0.7791 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003367/1.355, allocations: 0.9805 MB / 0.7801 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008792/1.364, allocations: 2.814 MB / 0.7829 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/1.364, allocations: 0 / 0.7829 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.938e-06/1.364, allocations: 0.9062 kB / 0.7829 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001731/1.364, allocations: 3.312 kB / 0.7829 GB, free: 0.6328 MB / 0.5762 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.01106/1.375, allocations: 2.507 MB / 0.7853 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/1.375, allocations: 9.375 kB / 0.7853 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/1.378, allocations: 328.3 kB / 0.7856 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006837/1.385, allocations: 1.779 MB / 0.7874 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.178e-05/1.385, allocations: 43.53 kB / 0.7874 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/1.385, allocations: 58.31 kB / 0.7875 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/1.387, allocations: 0.7136 MB / 0.7882 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/1.387, allocations: 0 / 0.7882 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-05/1.387, allocations: 27 kB / 0.7882 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-05/1.387, allocations: 20.16 kB / 0.7882 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/1.389, allocations: 0.5242 MB / 0.7887 GB, free: 14.47 MB / 0.5919 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.009802/1.399, allocations: 4.064 MB / 0.7927 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/1.399, allocations: 288.8 kB / 0.793 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/1.4, allocations: 119.1 kB / 0.7931 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/1.4, allocations: 4.219 kB / 0.7931 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/1.4, allocations: 31.38 kB / 0.7931 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 2.775e-06/1.4, allocations: 0 / 0.7931 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22): time 0.002361/1.402, allocations: 0.6655 MB / 0.7938 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/1.402, allocations: 54.31 kB / 0.7938 GB, free: 12.12 MB / 0.5919 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.007224/1.409, allocations: 2.875 MB / 0.7966 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.311e-05/1.409, allocations: 32.83 kB / 0.7966 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/1.411, allocations: 0.9426 MB / 0.7976 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/1.411, allocations: 86.56 kB / 0.7976 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/1.411, allocations: 99.28 kB / 0.7977 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.411, allocations: 323.9 kB / 0.7981 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/1.411, allocations: 124.6 kB / 0.7982 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/1.412, allocations: 330.1 kB / 0.7985 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/1.413, allocations: 487.7 kB / 0.799 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.413, allocations: 2.188 kB / 0.799 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001581/1.414, allocations: 0.6944 MB / 0.7996 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/1.414, allocations: 9.156 kB / 0.7996 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/1.414, allocations: 5 kB / 0.7996 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/1.415, allocations: 65.41 kB / 0.7997 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/1.415, allocations: 84.97 kB / 0.7998 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/1.417, allocations: 1.87 MB / 0.8016 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.419, allocations: 62.17 kB / 0.8017 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/1.419, allocations: 21.75 kB / 0.8017 GB, free: 9.098 MB / 0.5919 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.001453/1.42, allocations: 0.7349 MB / 0.8024 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007597/1.421, allocations: 212.1 kB / 0.8026 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/1.422, allocations: 228.2 kB / 0.8028 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.422, allocations: 3.594 kB / 0.8028 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.422, allocations: 0 / 0.8028 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.422, allocations: 0.9688 kB / 0.8028 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/1.425, allocations: 1.183 MB / 0.804 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.425, allocations: 0 / 0.804 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/1.425, allocations: 54.42 kB / 0.804 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000195/1.425, allocations: 54.59 kB / 0.8041 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/1.425, allocations: 4.219 kB / 0.8041 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/1.428, allocations: 1.857 MB / 0.8059 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.428, allocations: 0 / 0.8059 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/1.429, allocations: 0.6857 MB / 0.8066 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.43, allocations: 0.4889 MB / 0.8071 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006816/1.431, allocations: 9.172 kB / 0.8071 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009587/1.432, allocations: 10.75 kB / 0.8071 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/1.432, allocations: 20.58 kB / 0.8071 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/1.432, allocations: 9.75 kB / 0.8071 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004866/1.437, allocations: 2.019 MB / 0.8091 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.31e-07/1.437, allocations: 1.062 kB / 0.8091 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00177/1.439, allocations: 289.5 kB / 0.8094 GB, free: 6.391 MB / 0.5919 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.0002821/1.439, allocations: 120.8 kB / 0.8095 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001293/1.44, allocations: 451.1 kB / 0.8099 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.44, allocations: 0 / 0.8099 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004054/1.441, allocations: 244.8 kB / 0.8101 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004764/1.446, allocations: 0.8315 MB / 0.8109 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009537/1.455, allocations: 3.755 MB / 0.8146 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003665/1.459, allocations: 1.831 MB / 0.8164 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002022/1.461, allocations: 304 kB / 0.8167 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/1.461, allocations: 92.38 kB / 0.8168 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of SimCode: time 2.074e-06/1.461, allocations: 0 / 0.8168 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of Templates: time 0.06335/1.525, allocations: 27.37 MB / 0.8435 GB, free: 13.47 MB / 0.6231 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)