Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004589/0.004589, allocations: 98.91 kB / 15.73 MB, free: 6.008 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.001381/0.001381, allocations: 191.5 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.451/2.451, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 67.89 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6852, allocations: 159.1 MB / 1.22 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1874/0.8726, allocations: 179.3 MB / 1.395 GB, free: 14.02 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.8875, allocations: 10.97 MB / 1.406 GB, free: 3.023 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.8894, allocations: 87.5 kB / 1.406 GB, free: 2.938 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004417/0.8938, allocations: 1.989 MB / 1.408 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.8974, allocations: 1.626 MB / 1.41 GB, free: 15.3 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.8991, allocations: 0.7855 MB / 1.41 GB, free: 14.52 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003303/0.9024, allocations: 3.149 MB / 1.414 GB, free: 11.36 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.9039, allocations: 1.316 MB / 1.415 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.9052, allocations: 1.108 MB / 1.416 GB, free: 8.902 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.9069, allocations: 1.108 MB / 1.417 GB, free: 7.793 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.9071, allocations: 128 kB / 1.417 GB, free: 7.668 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.9086, allocations: 0.916 MB / 1.418 GB, free: 6.75 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.9091, allocations: 482 kB / 1.418 GB, free: 6.277 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009785/0.9101, allocations: 1.095 MB / 1.42 GB, free: 5.176 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003502/0.9136, allocations: 3.471 MB / 1.423 GB, free: 1.691 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.9136, allocations: 4 kB / 1.423 GB, free: 1.688 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9136, allocations: 4 kB / 1.423 GB, free: 1.684 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.9136, allocations: 0 / 1.423 GB, free: 1.684 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003493/0.9171, allocations: 2.886 MB / 1.426 GB, free: 14.73 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.9172, allocations: 12.03 kB / 1.426 GB, free: 14.72 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.9173, allocations: 130.6 kB / 1.426 GB, free: 14.58 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.9186, allocations: 378 kB / 1.426 GB, free: 14.21 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.9213, allocations: 2.043 MB / 1.428 GB, free: 12.11 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.9214, allocations: 58 kB / 1.428 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.9215, allocations: 79.94 kB / 1.428 GB, free: 11.97 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.9228, allocations: 0.9368 MB / 1.429 GB, free: 10.99 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.9229, allocations: 4 kB / 1.429 GB, free: 10.98 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.9229, allocations: 36 kB / 1.429 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.923, allocations: 28.94 kB / 1.429 GB, free: 10.92 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.924, allocations: 0.7024 MB / 1.43 GB, free: 10.22 MB / 1.154 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.005018/0.9291, allocations: 4.461 MB / 1.434 GB, free: 5.547 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.9295, allocations: 306.7 kB / 1.435 GB, free: 5.238 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.9298, allocations: 176.8 kB / 1.435 GB, free: 5.062 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.9299, allocations: 105.1 kB / 1.435 GB, free: 4.941 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.93, allocations: 38.5 kB / 1.435 GB, free: 4.895 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.93, allocations: 0 / 1.435 GB, free: 4.895 MB / 1.154 GB Notification: Performance of matching and sorting (n=32): time 0.002678/0.9327, allocations: 1.742 MB / 1.437 GB, free: 3.07 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.9327, allocations: 55.41 kB / 1.437 GB, free: 3.004 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003411/0.9361, allocations: 2.945 MB / 1.44 GB, free: 44 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.9362, allocations: 37.7 kB / 1.44 GB, free: 0 / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009688/0.9372, allocations: 1.071 MB / 1.441 GB, free: 14.92 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.9373, allocations: 126.9 kB / 1.441 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.9374, allocations: 106.2 kB / 1.441 GB, free: 14.69 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9376, allocations: 326 kB / 1.441 GB, free: 14.36 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.9378, allocations: 165 kB / 1.441 GB, free: 14.2 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.9382, allocations: 374.4 kB / 1.442 GB, free: 13.75 MB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.9402, allocations: 1.086 MB / 1.443 GB, free: 12.56 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9402, allocations: 0 / 1.443 GB, free: 12.56 MB / 1.17 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001077/0.9413, allocations: 0.809 MB / 1.444 GB, free: 11.74 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.9413, allocations: 10.16 kB / 1.444 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.9414, allocations: 8 kB / 1.444 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.9415, allocations: 68.75 kB / 1.444 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.9419, allocations: 103.8 kB / 1.444 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.9435, allocations: 1.857 MB / 1.446 GB, free: 9.562 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/0.9441, allocations: 23.94 kB / 1.446 GB, free: 9.539 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.9442, allocations: 27.98 kB / 1.446 GB, free: 9.512 MB / 1.17 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * 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.0008848/0.9451, allocations: 0.7951 MB / 1.446 GB, free: 8.707 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.9453, allocations: 250.3 kB / 1.447 GB, free: 8.461 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.9456, allocations: 251.7 kB / 1.447 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9457, allocations: 4 kB / 1.447 GB, free: 8.211 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.9457, allocations: 0 / 1.447 GB, free: 8.211 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006653/0.9463, allocations: 0.597 MB / 1.447 GB, free: 7.543 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.949, allocations: 2.046 MB / 1.449 GB, free: 5.391 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.949, allocations: 7.938 kB / 1.449 GB, free: 5.383 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.9493, allocations: 67.91 kB / 1.45 GB, free: 5.316 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.9494, allocations: 64.88 kB / 1.45 GB, free: 5.25 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.9494, allocations: 12.41 kB / 1.45 GB, free: 5.238 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.9509, allocations: 1.861 MB / 1.451 GB, free: 3.23 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9509, allocations: 0 / 1.451 GB, free: 3.23 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.952, allocations: 0.9475 MB / 1.452 GB, free: 2.223 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.9525, allocations: 419.3 kB / 1.453 GB, free: 1.793 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.9527, allocations: 12 kB / 1.453 GB, free: 1.781 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.9532, allocations: 11.98 kB / 1.453 GB, free: 1.77 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.9533, allocations: 35.84 kB / 1.453 GB, free: 1.734 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.9533, allocations: 16.05 kB / 1.453 GB, free: 1.719 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002509/0.9558, allocations: 2.087 MB / 1.455 GB, free: 15.63 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.214e-06/0.9559, allocations: 0 / 1.455 GB, free: 15.63 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008115/0.9567, allocations: 307.9 kB / 1.455 GB, free: 15.33 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * Single equations (assignments): 28 * 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.001645/0.9583, allocations: 1.555 MB / 1.457 GB, free: 13.71 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008095/0.9591, allocations: 0.5262 MB / 1.457 GB, free: 13.17 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9592, allocations: 3.984 kB / 1.457 GB, free: 13.17 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.9595, allocations: 300.4 kB / 1.457 GB, free: 12.86 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/0.9627, allocations: 0.9494 MB / 1.458 GB, free: 11.94 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/0.9835, allocations: 17.16 MB / 1.475 GB, free: 10.36 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.9851, allocations: 1.949 MB / 1.477 GB, free: 8.375 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009131/0.986, allocations: 342.8 kB / 1.477 GB, free: 8.035 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008914/0.9869, allocations: 0.8 MB / 1.478 GB, free: 7.234 MB / 1.201 GB Notification: Performance of SimCode: time 5.51e-07/0.9869, allocations: 0 / 1.478 GB, free: 7.234 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.817/4.804, allocations: 51.21 MB / 1.528 GB, free: 4.734 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.34/29.14, allocations: 6.516 kB / 1.528 GB, free: 4.73 MB / 1.248 GB (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)