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.001482/0.001482, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.001251, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.71/1.71, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.616/0.616, allocations: 95.48 MB / 365.2 MB, free: 9.891 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.001599/0.001599, allocations: 75.89 kB / 445.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4479, allocations: 69.08 MB / 0.5024 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance): time 0.6529/1.101, allocations: 153.9 MB / 0.6526 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/1.116, allocations: 7.381 MB / 0.6598 GB, free: 0.5234 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.004074/1.12, allocations: 67.25 kB / 0.6599 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006443/1.126, allocations: 1.507 MB / 0.6614 GB, free: 496 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/1.131, allocations: 1.113 MB / 0.6624 GB, free: 448 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/1.133, allocations: 0.5161 MB / 0.6629 GB, free: 436 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004425/1.137, allocations: 2.215 MB / 0.6651 GB, free: 0 / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/1.139, allocations: 0.8513 MB / 0.6659 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/1.142, allocations: 0.8498 MB / 0.6668 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/1.144, allocations: 0.7814 MB / 0.6675 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/1.144, allocations: 87.94 kB / 0.6676 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009855/1.145, allocations: 299.9 kB / 0.6679 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/1.145, allocations: 281 kB / 0.6682 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009328/1.146, allocations: 0.7676 MB / 0.6689 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/1.149, allocations: 1.997 MB / 0.6709 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.149, allocations: 3.938 kB / 0.6709 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/1.149, allocations: 2.094 kB / 0.6709 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.298e-05/1.149, allocations: 0 / 0.6709 GB, free: 15.09 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.003/1.152, allocations: 1.991 MB / 0.6728 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.152, allocations: 11.61 kB / 0.6728 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004515/1.152, allocations: 191.6 kB / 0.673 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/1.155, allocations: 1.444 MB / 0.6744 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/1.155, allocations: 32.62 kB / 0.6745 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-05/1.155, allocations: 47.5 kB / 0.6745 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009924/1.156, allocations: 0.6201 MB / 0.6751 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.156, allocations: 2.812 kB / 0.6751 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/1.156, allocations: 23.45 kB / 0.6751 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/1.156, allocations: 14.41 kB / 0.6751 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/1.157, allocations: 452 kB / 0.6756 GB, free: 13.23 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.004511/1.161, allocations: 3.448 MB / 0.6789 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/1.162, allocations: 218.5 kB / 0.6792 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/1.162, allocations: 104.6 kB / 0.6793 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/1.162, allocations: 174.9 kB / 0.6794 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/1.162, allocations: 30.56 kB / 0.6795 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 1.963e-06/1.162, allocations: 0 / 0.6795 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.00393/1.166, allocations: 1.488 MB / 0.6809 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/1.166, allocations: 57.91 kB / 0.681 GB, free: 10.25 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.003806/1.17, allocations: 2.309 MB / 0.6832 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/1.17, allocations: 29.27 kB / 0.6832 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008741/1.171, allocations: 0.7626 MB / 0.684 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.824e-05/1.171, allocations: 89.45 kB / 0.6841 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/1.171, allocations: 91.64 kB / 0.6842 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.171, allocations: 325.5 kB / 0.6845 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/1.171, allocations: 118.3 kB / 0.6846 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/1.172, allocations: 317.2 kB / 0.6849 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/1.173, allocations: 0.6917 MB / 0.6856 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.173, allocations: 2.5 kB / 0.6856 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00118/1.175, allocations: 0.753 MB / 0.6863 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.175, allocations: 7.812 kB / 0.6863 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.175, allocations: 7.5 kB / 0.6863 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002587/1.175, allocations: 81.3 kB / 0.6864 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/1.175, allocations: 95.64 kB / 0.6865 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/1.178, allocations: 3.259 MB / 0.6897 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007709/1.179, allocations: 28.8 kB / 0.6897 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/1.179, allocations: 21.19 kB / 0.6897 GB, free: 4.812 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: air.vol.dynBal.medium.p:VARIABLE(flow=false min = 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 = 273.15 max = 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 (49): * Single equations (assignments): 47 * 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.001095/1.18, allocations: 0.6276 MB / 0.6903 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/1.18, allocations: 174.4 kB / 0.6905 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008499/1.181, allocations: 0.5441 MB / 0.691 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.181, allocations: 2.312 kB / 0.691 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.181, allocations: 2.875 kB / 0.691 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/1.181, allocations: 3.984 kB / 0.691 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/1.184, allocations: 1.547 MB / 0.6925 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.184, allocations: 3.938 kB / 0.6925 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/1.184, allocations: 37.81 kB / 0.6926 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/1.184, allocations: 70.11 kB / 0.6926 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/1.184, allocations: 10.62 kB / 0.6927 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/1.187, allocations: 3.247 MB / 0.6958 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.187, allocations: 6.797 kB / 0.6958 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/1.188, allocations: 0.7327 MB / 0.6966 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/1.188, allocations: 325.1 kB / 0.6969 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/1.188, allocations: 14.59 kB / 0.6969 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/1.189, allocations: 10.27 kB / 0.6969 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/1.189, allocations: 26.34 kB / 0.6969 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/1.189, allocations: 8.75 kB / 0.6969 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002515/1.191, allocations: 1.631 MB / 0.6985 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.864e-06/1.191, allocations: 64 / 0.6985 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00102/1.192, allocations: 244.3 kB / 0.6987 GB, free: 13.74 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.0003726/1.193, allocations: 165.6 kB / 0.6989 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009477/1.194, allocations: 0.5628 MB / 0.6995 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/1.194, allocations: 1.375 kB / 0.6995 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004203/1.194, allocations: 356.4 kB / 0.6998 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/1.197, allocations: 0.7043 MB / 0.7005 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/1.201, allocations: 3.018 MB / 0.7034 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/1.203, allocations: 1.591 MB / 0.705 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009758/1.204, allocations: 271.9 kB / 0.7052 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/1.204, allocations: 83.44 kB / 0.7053 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/1.204, allocations: 0 / 0.7053 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of Templates: time 0.04533/1.249, allocations: 24.27 MB / 0.729 GB, free: 0.7188 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)