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.0008001/0.0008001, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007426/0.007426, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.849/1.849, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.6385/0.6385, allocations: 95.63 MB / 366.4 MB, free: 10.23 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.0006168/0.0006168, allocations: 16 kB / 447.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5026, allocations: 70.34 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance): time 0.6829/1.186, allocations: 149.8 MB / 0.6519 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/1.199, allocations: 7.282 MB / 0.659 GB, free: 1.027 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.003628/1.203, allocations: 64.59 kB / 0.6591 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005543/1.208, allocations: 1.391 MB / 0.6604 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003977/1.212, allocations: 0.9851 MB / 0.6614 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/1.214, allocations: 478.6 kB / 0.6619 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003888/1.218, allocations: 2.486 MB / 0.6643 GB, free: 492 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/1.219, allocations: 0.7389 MB / 0.665 GB, free: 304 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/1.221, allocations: 0.7476 MB / 0.6657 GB, free: 256 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/1.222, allocations: 0.7525 MB / 0.6665 GB, free: 240 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/1.222, allocations: 55.09 kB / 0.6665 GB, free: 240 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008536/1.223, allocations: 280 kB / 0.6668 GB, free: 216 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/1.223, allocations: 235.8 kB / 0.667 GB, free: 208 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008731/1.224, allocations: 0.7501 MB / 0.6678 GB, free: 172 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/1.226, allocations: 1.901 MB / 0.6696 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.226, allocations: 2.531 kB / 0.6696 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.983e-06/1.226, allocations: 0 / 0.6696 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.92e-05/1.226, allocations: 0 / 0.6696 GB, free: 15.96 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.002807/1.229, allocations: 1.72 MB / 0.6713 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.229, allocations: 12.95 kB / 0.6713 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/1.23, allocations: 191.3 kB / 0.6715 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/1.232, allocations: 1.453 MB / 0.6729 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/1.232, allocations: 36.12 kB / 0.6729 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.061e-05/1.232, allocations: 50.59 kB / 0.673 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/1.233, allocations: 0.6292 MB / 0.6736 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/1.233, allocations: 0 / 0.6736 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/1.233, allocations: 20.56 kB / 0.6736 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/1.233, allocations: 11.41 kB / 0.6736 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/1.234, allocations: 453.6 kB / 0.6741 GB, free: 14.18 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.004773/1.239, allocations: 3.431 MB / 0.6774 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/1.239, allocations: 226.2 kB / 0.6776 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/1.239, allocations: 96.28 kB / 0.6777 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002287/1.24, allocations: 176.4 kB / 0.6779 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/1.24, allocations: 37.12 kB / 0.6779 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/1.24, allocations: 3.938 kB / 0.6779 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.003777/1.243, allocations: 1.5 MB / 0.6794 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/1.244, allocations: 57.12 kB / 0.6795 GB, free: 10.71 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.003726/1.247, allocations: 2.299 MB / 0.6817 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/1.247, allocations: 36.42 kB / 0.6817 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007169/1.248, allocations: 0.7641 MB / 0.6825 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.836e-05/1.248, allocations: 80.41 kB / 0.6826 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/1.248, allocations: 42.39 kB / 0.6826 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.248, allocations: 323.7 kB / 0.6829 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/1.249, allocations: 114.4 kB / 0.683 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/1.249, allocations: 310.4 kB / 0.6833 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/1.251, allocations: 0.6849 MB / 0.684 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.251, allocations: 3.312 kB / 0.684 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001342/1.252, allocations: 0.7318 MB / 0.6847 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/1.252, allocations: 10.66 kB / 0.6847 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.252, allocations: 8 kB / 0.6847 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002683/1.253, allocations: 88.98 kB / 0.6848 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.253, allocations: 97.98 kB / 0.6849 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/1.256, allocations: 2.979 MB / 0.6878 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009319/1.257, allocations: 25.86 kB / 0.6878 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/1.257, allocations: 22.38 kB / 0.6878 GB, free: 5.602 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.00141/1.258, allocations: 0.6347 MB / 0.6885 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/1.259, allocations: 170.7 kB / 0.6886 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/1.26, allocations: 0.5507 MB / 0.6892 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.26, allocations: 2.781 kB / 0.6892 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.26, allocations: 5.797 kB / 0.6892 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/1.26, allocations: 0 / 0.6892 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/1.263, allocations: 1.529 MB / 0.6907 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.263, allocations: 3 kB / 0.6907 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/1.264, allocations: 43.12 kB / 0.6907 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/1.264, allocations: 72.95 kB / 0.6908 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/1.264, allocations: 6.594 kB / 0.6908 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/1.267, allocations: 2.964 MB / 0.6937 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.267, allocations: 1.781 kB / 0.6937 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/1.268, allocations: 0.7426 MB / 0.6944 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000919/1.269, allocations: 335.5 kB / 0.6947 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000542/1.27, allocations: 8.438 kB / 0.6947 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007735/1.27, allocations: 21.39 kB / 0.6948 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/1.27, allocations: 19.78 kB / 0.6948 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/1.27, allocations: 5.875 kB / 0.6948 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003909/1.274, allocations: 1.634 MB / 0.6964 GB, free: 368 kB / 0.4981 GB Notification: Performance of sort global known variables: time 5.91e-07/1.274, allocations: 0 / 0.6964 GB, free: 368 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001829/1.276, allocations: 229.4 kB / 0.6966 GB, free: 364 kB / 0.4981 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.0006013/1.277, allocations: 167.8 kB / 0.6968 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001194/1.278, allocations: 0.5353 MB / 0.6973 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.278, allocations: 0 / 0.6973 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000463/1.278, allocations: 356.2 kB / 0.6976 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/1.282, allocations: 0.6591 MB / 0.6983 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006513/1.289, allocations: 3.472 MB / 0.7017 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001982/1.291, allocations: 1.601 MB / 0.7032 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001133/1.292, allocations: 258.3 kB / 0.7035 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/1.292, allocations: 90.83 kB / 0.7035 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of SimCode: time 5.92e-07/1.292, allocations: 0 / 0.7035 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.04575/1.338, allocations: 23.03 MB / 0.726 GB, free: 6.469 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: