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.001384/0.001384, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001334/0.001334, allocations: 188.9 kB / 16.25 MB, free: 6.637 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.212/1.212, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.517/2.517, allocations: 469.8 MB / 0.7421 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 65.08 kB / 0.9082 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2319, allocations: 159.2 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1666/0.3985, allocations: 176.8 MB / 1.236 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01345/0.412, allocations: 10.84 MB / 1.247 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.4138, allocations: 75.56 kB / 1.247 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004196/0.418, allocations: 1.874 MB / 1.249 GB, free: 260 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.4115/0.8295, allocations: 1.472 MB / 1.25 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.8315, allocations: 0.7217 MB / 1.251 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003864/0.8354, allocations: 3.159 MB / 1.254 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.8371, allocations: 1.304 MB / 1.255 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.8389, allocations: 1.115 MB / 1.256 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.8404, allocations: 1.16 MB / 1.257 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.8406, allocations: 129.3 kB / 1.258 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.8418, allocations: 0.9547 MB / 1.259 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.8421, allocations: 486.3 kB / 1.259 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007878/0.8429, allocations: 1.103 MB / 1.26 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.8455, allocations: 3.267 MB / 1.263 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.8455, allocations: 3.656 kB / 1.263 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8455, allocations: 0 / 1.263 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.8455, allocations: 0 / 1.263 GB, free: 4.902 MB / 0.9981 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.00281/0.8483, allocations: 2.754 MB / 1.266 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.8484, allocations: 10.81 kB / 1.266 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.8485, allocations: 123.8 kB / 1.266 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.8496, allocations: 371.4 kB / 1.266 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.8521, allocations: 1.894 MB / 1.268 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.8522, allocations: 59.91 kB / 1.268 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.8523, allocations: 76.78 kB / 1.268 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.8535, allocations: 0.9376 MB / 1.269 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.8536, allocations: 6.219 kB / 1.269 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.8536, allocations: 34.78 kB / 1.269 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/0.8537, allocations: 25.61 kB / 1.269 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009493/0.8546, allocations: 0.6927 MB / 1.27 GB, free: 18.55 MB / 1.014 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.005089/0.8597, allocations: 4.484 MB / 1.274 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.8601, allocations: 317.3 kB / 1.275 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.8603, allocations: 178.3 kB / 1.275 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.8605, allocations: 98.59 kB / 1.275 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.8605, allocations: 34.58 kB / 1.275 GB, free: 16.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.8605, allocations: 0.7812 kB / 1.275 GB, free: 16.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002394/0.8629, allocations: 1.714 MB / 1.277 GB, free: 15.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.863, allocations: 57.53 kB / 1.277 GB, free: 15.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003111/0.8661, allocations: 2.972 MB / 1.28 GB, free: 15.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.8661, allocations: 35.55 kB / 1.28 GB, free: 15.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006502/0.8668, allocations: 1.058 MB / 1.281 GB, free: 15.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.8669, allocations: 113.1 kB / 1.281 GB, free: 15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.867, allocations: 109.5 kB / 1.281 GB, free: 14.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8672, allocations: 327.8 kB / 1.281 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.8674, allocations: 164.6 kB / 1.281 GB, free: 14.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.8677, allocations: 368.4 kB / 1.282 GB, free: 14.44 MB / 1.014 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.001742/0.8694, allocations: 1.078 MB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.8694, allocations: 1.125 kB / 1.283 GB, free: 14.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009547/0.8704, allocations: 0.8004 MB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8704, allocations: 11.66 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.8704, allocations: 5.531 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.8706, allocations: 61.91 kB / 1.284 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.8709, allocations: 106.2 kB / 1.284 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.8723, allocations: 1.861 MB / 1.286 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006893/0.873, allocations: 43.92 kB / 1.286 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.873, allocations: 27.84 kB / 1.286 GB, free: 12.43 MB / 1.014 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.0007231/0.8738, allocations: 0.8031 MB / 1.286 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.874, allocations: 229.7 kB / 1.287 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.8743, allocations: 253.4 kB / 1.287 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8743, allocations: 7.078 kB / 1.287 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8743, allocations: 2.406 kB / 1.287 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005677/0.8748, allocations: 0.5981 MB / 1.288 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.8772, allocations: 2.056 MB / 1.29 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.8772, allocations: 3.438 kB / 1.29 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.8775, allocations: 67.98 kB / 1.29 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.8776, allocations: 61.2 kB / 1.29 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.8776, allocations: 9.938 kB / 1.29 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.8789, allocations: 1.864 MB / 1.292 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.8789, allocations: 6.312 kB / 1.292 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009262/0.8798, allocations: 0.9243 MB / 1.292 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/0.8803, allocations: 417.1 kB / 1.293 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.8805, allocations: 9.5 kB / 1.293 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/0.8811, allocations: 29.14 kB / 1.293 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.8812, allocations: 38.19 kB / 1.293 GB, free: 9.223 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.8812, allocations: 18.38 kB / 1.293 GB, free: 9.223 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002042/0.8832, allocations: 2.1 MB / 1.295 GB, free: 9.078 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8832, allocations: 0.75 kB / 1.295 GB, free: 9.078 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008158/0.8841, allocations: 298.8 kB / 1.295 GB, free: 9.078 MB / 1.014 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.00146/0.8855, allocations: 1.546 MB / 1.297 GB, free: 8.164 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000716/0.8863, allocations: 0.5372 MB / 1.297 GB, free: 8.051 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8863, allocations: 0 / 1.297 GB, free: 8.051 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.8866, allocations: 307.2 kB / 1.298 GB, free: 7.934 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.8896, allocations: 0.9639 MB / 1.299 GB, free: 7.801 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02614/0.9157, allocations: 20.51 MB / 1.319 GB, free: 32 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.917, allocations: 1.961 MB / 1.32 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001095/0.9181, allocations: 392.9 kB / 1.321 GB, free: 15.19 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007198/0.9188, allocations: 0.8148 MB / 1.322 GB, free: 15.18 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.9188, allocations: 0 / 1.322 GB, free: 15.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.664/3.583, allocations: 51.61 MB / 1.372 GB, free: 1.445 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005402/3.584, allocations: 298.3 kB / 1.372 GB, free: 1.066 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.137/6.721, allocations: 4 kB / 1.372 GB, free: 1.062 MB / 1.045 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)