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.2292/0.2312, allocations: 80.84 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance): time 0.7136/0.9448, allocations: 171.9 MB / 0.7576 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01398/0.9589, allocations: 7.997 MB / 0.7654 GB, free: 11.52 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.003766/0.9627, allocations: 64.66 kB / 0.7655 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006429/0.9691, allocations: 1.714 MB / 0.7671 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005346/0.9745, allocations: 1.251 MB / 0.7683 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.9774, allocations: 0.5708 MB / 0.7689 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007164/0.9845, allocations: 3.234 MB / 0.7721 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001758/0.9863, allocations: 0.8736 MB / 0.7729 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.9891, allocations: 0.8834 MB / 0.7738 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.9928, allocations: 0.9877 MB / 0.7747 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005056/0.9933, allocations: 80.47 kB / 0.7748 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.9962, allocations: 0.8043 MB / 0.7756 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006487/0.9969, allocations: 363.9 kB / 0.776 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.9988, allocations: 0.9382 MB / 0.7769 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004506/1.003, allocations: 2.698 MB / 0.7795 GB, free: 4.844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/1.003, allocations: 2.094 kB / 0.7795 GB, free: 4.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/1.003, allocations: 0 / 0.7795 GB, free: 4.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.669e-05/1.003, allocations: 0 / 0.7795 GB, free: 4.844 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.00548/1.009, allocations: 2.475 MB / 0.7819 GB, free: 3.031 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.495e-05/1.009, allocations: 9.5 kB / 0.7819 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/1.011, allocations: 327.2 kB / 0.7822 GB, free: 2.871 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/1.014, allocations: 1.763 MB / 0.784 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/1.014, allocations: 43.53 kB / 0.784 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/1.014, allocations: 59.16 kB / 0.7841 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/1.015, allocations: 0.7204 MB / 0.7848 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/1.015, allocations: 7.938 kB / 0.7848 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/1.016, allocations: 20.97 kB / 0.7848 GB, free: 1.133 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/1.016, allocations: 22.09 kB / 0.7848 GB, free: 1.129 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/1.016, allocations: 0.516 MB / 0.7853 GB, free: 0.875 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.006214/1.023, allocations: 4.05 MB / 0.7893 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/1.023, allocations: 270 kB / 0.7895 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/1.023, allocations: 122.4 kB / 0.7896 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/1.023, allocations: 2.438 kB / 0.7896 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/1.023, allocations: 49.33 kB / 0.7897 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 2.324e-06/1.023, allocations: 0 / 0.7897 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.001505/1.025, allocations: 0.6572 MB / 0.7903 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/1.025, allocations: 53.91 kB / 0.7904 GB, free: 12.81 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.004334/1.029, allocations: 2.855 MB / 0.7932 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.232e-05/1.029, allocations: 32.2 kB / 0.7932 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.03, allocations: 0.9474 MB / 0.7941 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/1.031, allocations: 84.95 kB / 0.7942 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/1.031, allocations: 93.94 kB / 0.7943 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.031, allocations: 333.9 kB / 0.7946 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/1.031, allocations: 120.8 kB / 0.7947 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/1.031, allocations: 327.7 kB / 0.7951 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/1.032, allocations: 486.4 kB / 0.7955 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.032, allocations: 0 / 0.7955 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001363/1.033, allocations: 0.6948 MB / 0.7962 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/1.033, allocations: 8 kB / 0.7962 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/1.034, allocations: 8 kB / 0.7962 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/1.034, allocations: 64.81 kB / 0.7963 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/1.034, allocations: 83.84 kB / 0.7963 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/1.036, allocations: 1.689 MB / 0.798 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.037, allocations: 71.38 kB / 0.7981 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/1.037, allocations: 23.98 kB / 0.7981 GB, free: 5.969 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.001454/1.039, allocations: 0.7285 MB / 0.7988 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/1.039, allocations: 205.4 kB / 0.799 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/1.04, allocations: 228.8 kB / 0.7992 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/1.04, allocations: 0 / 0.7992 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.04, allocations: 7.984 kB / 0.7992 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.04, allocations: 7.938 kB / 0.7992 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/1.041, allocations: 1.172 MB / 0.8004 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.041, allocations: 0 / 0.8004 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/1.042, allocations: 55.91 kB / 0.8004 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001581/1.042, allocations: 56.75 kB / 0.8005 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/1.042, allocations: 7.938 kB / 0.8005 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/1.044, allocations: 1.673 MB / 0.8021 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.044, allocations: 0 / 0.8021 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.045, allocations: 0.689 MB / 0.8028 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/1.045, allocations: 398.3 kB / 0.8032 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/1.046, allocations: 4 kB / 0.8032 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/1.046, allocations: 23.83 kB / 0.8032 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/1.046, allocations: 15.97 kB / 0.8032 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/1.046, allocations: 8 kB / 0.8032 GB, free: 472 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003212/1.049, allocations: 2.026 MB / 0.8052 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.049, allocations: 0 / 0.8052 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001155/1.051, allocations: 287.7 kB / 0.8055 GB, free: 14.14 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.0002434/1.051, allocations: 120.3 kB / 0.8056 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008345/1.052, allocations: 432.3 kB / 0.806 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.052, allocations: 8.125 kB / 0.806 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/1.052, allocations: 236.7 kB / 0.8062 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/1.055, allocations: 0.7756 MB / 0.807 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/1.063, allocations: 4.224 MB / 0.8111 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.064, allocations: 1.835 MB / 0.8129 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001452/1.066, allocations: 305.5 kB / 0.8132 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/1.066, allocations: 91.44 kB / 0.8133 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.066, allocations: 0 / 0.8133 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of Templates: time 0.05463/1.121, allocations: 26.37 MB / 0.839 GB, free: 12.01 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)