Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.conf.json 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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") translateModel(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001579, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 191.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6881/0.6881, allocations: 95.47 MB / 364.8 MB, free: 10.11 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 60.38 kB / 444.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4732, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance): time 0.5825/1.056, allocations: 151.8 MB / 0.65 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/1.069, allocations: 7.375 MB / 0.6572 GB, free: 1.113 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.004198/1.073, allocations: 71.59 kB / 0.6572 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006931/1.08, allocations: 1.383 MB / 0.6586 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003777/1.084, allocations: 0.9907 MB / 0.6595 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/1.086, allocations: 481.5 kB / 0.66 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00353/1.089, allocations: 2.481 MB / 0.6624 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/1.09, allocations: 0.7508 MB / 0.6632 GB, free: 424 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/1.092, allocations: 0.7675 MB / 0.6639 GB, free: 372 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/1.093, allocations: 0.7732 MB / 0.6647 GB, free: 352 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/1.093, allocations: 59.69 kB / 0.6647 GB, free: 352 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008196/1.094, allocations: 288.7 kB / 0.665 GB, free: 328 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/1.095, allocations: 239.2 kB / 0.6652 GB, free: 304 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007316/1.095, allocations: 0.7377 MB / 0.6659 GB, free: 32 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/1.097, allocations: 1.936 MB / 0.6678 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.097, allocations: 0 / 0.6678 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/1.097, allocations: 0 / 0.6678 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.928e-05/1.097, allocations: 0 / 0.6678 GB, free: 15.68 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003402/1.101, allocations: 1.988 MB / 0.6698 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.101, allocations: 15.98 kB / 0.6698 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003737/1.101, allocations: 186.4 kB / 0.67 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/1.103, allocations: 1.458 MB / 0.6714 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/1.103, allocations: 37.34 kB / 0.6714 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/1.103, allocations: 47.41 kB / 0.6715 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009487/1.104, allocations: 0.6188 MB / 0.6721 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/1.104, allocations: 3.938 kB / 0.6721 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/1.105, allocations: 21.88 kB / 0.6721 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/1.105, allocations: 12.62 kB / 0.6721 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00065/1.105, allocations: 450.1 kB / 0.6725 GB, free: 13.82 MB / 0.4981 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.004466/1.11, allocations: 3.434 MB / 0.6759 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/1.11, allocations: 218.6 kB / 0.6761 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/1.11, allocations: 102.9 kB / 0.6762 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/1.111, allocations: 171.5 kB / 0.6764 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/1.111, allocations: 35.91 kB / 0.6764 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 2.385e-06/1.111, allocations: 0 / 0.6764 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.003417/1.114, allocations: 1.492 MB / 0.6779 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/1.114, allocations: 58.06 kB / 0.6779 GB, free: 10.85 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.003127/1.117, allocations: 2.303 MB / 0.6802 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/1.117, allocations: 29.33 kB / 0.6802 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006646/1.118, allocations: 0.7653 MB / 0.6809 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.85e-05/1.118, allocations: 85.12 kB / 0.681 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/1.118, allocations: 88.81 kB / 0.6811 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.118, allocations: 326.4 kB / 0.6814 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/1.118, allocations: 112.2 kB / 0.6815 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/1.119, allocations: 312.7 kB / 0.6818 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/1.12, allocations: 0.6742 MB / 0.6825 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.121, allocations: 2.906 kB / 0.6825 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001129/1.122, allocations: 0.7464 MB / 0.6832 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.122, allocations: 13.72 kB / 0.6832 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.122, allocations: 7.688 kB / 0.6832 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/1.122, allocations: 80.77 kB / 0.6833 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/1.122, allocations: 96.55 kB / 0.6834 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/1.125, allocations: 2.967 MB / 0.6863 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/1.126, allocations: 31.48 kB / 0.6863 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/1.126, allocations: 22.75 kB / 0.6863 GB, free: 5.793 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: air.vol.dynBal.medium.p:VARIABLE(flow=false min = max(0.0, 0.0) max = 100000000.0 start = air.vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real air.vol.dynBal.medium.T:VARIABLE(min = max(273.15, 273.15) max = min(373.15, 373.15) start = air.vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001012/1.127, allocations: 0.6333 MB / 0.687 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/1.127, allocations: 170.3 kB / 0.6871 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007973/1.128, allocations: 0.5443 MB / 0.6877 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.128, allocations: 1.906 kB / 0.6877 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.128, allocations: 2.812 kB / 0.6877 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.128, allocations: 3.984 kB / 0.6877 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/1.13, allocations: 1.547 MB / 0.6892 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-06/1.13, allocations: 3 kB / 0.6892 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/1.13, allocations: 39.81 kB / 0.6892 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/1.13, allocations: 78.3 kB / 0.6893 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/1.131, allocations: 6.062 kB / 0.6893 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/1.133, allocations: 2.956 MB / 0.6922 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.133, allocations: 12.16 kB / 0.6922 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/1.134, allocations: 0.7345 MB / 0.6929 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/1.134, allocations: 334.9 kB / 0.6932 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/1.135, allocations: 12.84 kB / 0.6932 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/1.135, allocations: 8.859 kB / 0.6933 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/1.135, allocations: 15.95 kB / 0.6933 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/1.135, allocations: 9.047 kB / 0.6933 GB, free: 476 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002406/1.137, allocations: 1.629 MB / 0.6949 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/1.137, allocations: 0 / 0.6949 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009769/1.138, allocations: 232.6 kB / 0.6951 GB, free: 15.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (air.vol.dynBal.medium.p,air.vol.dynBal.medium.T) * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0003793/1.139, allocations: 169.3 kB / 0.6953 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008459/1.14, allocations: 0.5373 MB / 0.6958 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/1.14, allocations: 0 / 0.6958 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004004/1.14, allocations: 356.6 kB / 0.6961 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.143, allocations: 0.6596 MB / 0.6968 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004455/1.147, allocations: 3.395 MB / 0.7001 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.148, allocations: 1.593 MB / 0.7016 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000881/1.149, allocations: 271.1 kB / 0.7019 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/1.15, allocations: 91.36 kB / 0.702 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/1.15, allocations: 0 / 0.702 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of Templates: time 0.04247/1.192, allocations: 23.2 MB / 0.7246 GB, free: 3.859 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.makefile (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe 2>&1)