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.002301/0.002301, allocations: 108 kB / 15.61 MB, free: 152 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.002472/0.002473, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.462/2.462, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 64.34 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2331, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1737/0.4069, allocations: 179.3 MB / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4251/0.832, allocations: 10.95 MB / 1.25 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.8341, allocations: 82.56 kB / 1.25 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004718/0.8388, allocations: 2.001 MB / 1.252 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.842, allocations: 1.621 MB / 1.253 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.8436, allocations: 0.7866 MB / 1.254 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.8461, allocations: 3.12 MB / 1.257 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.8472, allocations: 1.316 MB / 1.259 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.8483, allocations: 1.092 MB / 1.26 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.8497, allocations: 1.118 MB / 1.261 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.8499, allocations: 128.5 kB / 1.261 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.8512, allocations: 0.9169 MB / 1.262 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003808/0.8516, allocations: 483.2 kB / 1.262 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007449/0.8523, allocations: 1.096 MB / 1.263 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.8547, allocations: 3.214 MB / 1.266 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.8547, allocations: 0.6875 kB / 1.266 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8547, allocations: 2.312 kB / 1.266 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.484e-05/0.8548, allocations: 0.7188 kB / 1.266 GB, free: 3.852 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.003156/0.8579, allocations: 2.753 MB / 1.269 GB, free: 18.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.858, allocations: 9 kB / 1.269 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.8581, allocations: 124 kB / 1.269 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.8593, allocations: 372.4 kB / 1.27 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/0.8616, allocations: 1.896 MB / 1.271 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.8616, allocations: 58.91 kB / 1.271 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.8617, allocations: 74.44 kB / 1.272 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.863, allocations: 0.9427 MB / 1.272 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.863, allocations: 2.281 kB / 1.272 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-05/0.8631, allocations: 34.12 kB / 1.273 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.8631, allocations: 28.16 kB / 1.273 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.8642, allocations: 0.6989 MB / 1.273 GB, free: 17.5 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.004802/0.869, allocations: 4.498 MB / 1.278 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.8694, allocations: 311.8 kB / 1.278 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.8696, allocations: 183.6 kB / 1.278 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.8698, allocations: 95.92 kB / 1.278 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.8698, allocations: 43.16 kB / 1.278 GB, free: 15.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.443e-06/0.8698, allocations: 0 / 1.278 GB, free: 15.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002319/0.8722, allocations: 1.712 MB / 1.28 GB, free: 14.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.8722, allocations: 56.38 kB / 1.28 GB, free: 14.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003066/0.8753, allocations: 2.973 MB / 1.283 GB, free: 14.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.8753, allocations: 36.05 kB / 1.283 GB, free: 14.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/0.876, allocations: 1.055 MB / 1.284 GB, free: 14.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.8761, allocations: 118.6 kB / 1.284 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.8762, allocations: 107.3 kB / 1.284 GB, free: 13.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8763, allocations: 326.8 kB / 1.284 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.8766, allocations: 164.8 kB / 1.285 GB, free: 13.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.8768, allocations: 376.9 kB / 1.285 GB, free: 13.38 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.001709/0.8786, allocations: 1.079 MB / 1.286 GB, free: 13.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8786, allocations: 3.156 kB / 1.286 GB, free: 13.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009115/0.8795, allocations: 0.8013 MB / 1.287 GB, free: 12.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.8795, allocations: 8.594 kB / 1.287 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.8795, allocations: 6.656 kB / 1.287 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.8797, allocations: 61.06 kB / 1.287 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.88, allocations: 102.2 kB / 1.287 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.8814, allocations: 1.865 MB / 1.289 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.882, allocations: 26.59 kB / 1.289 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.8821, allocations: 22.22 kB / 1.289 GB, free: 11.38 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.0007436/0.8828, allocations: 0.7987 MB / 1.29 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.883, allocations: 233.7 kB / 1.29 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.8833, allocations: 252 kB / 1.29 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.8833, allocations: 7.25 kB / 1.29 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8834, allocations: 1.062 kB / 1.29 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005798/0.8839, allocations: 0.5964 MB / 1.291 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.8863, allocations: 2.06 MB / 1.293 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.8864, allocations: 5.125 kB / 1.293 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.8866, allocations: 63.23 kB / 1.293 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.8868, allocations: 60.14 kB / 1.293 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.8868, allocations: 9.469 kB / 1.293 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.8882, allocations: 1.869 MB / 1.295 GB, free: 8.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.8882, allocations: 10.44 kB / 1.295 GB, free: 8.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.8892, allocations: 0.9187 MB / 1.296 GB, free: 8.387 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.8897, allocations: 415 kB / 1.296 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.8899, allocations: 12.84 kB / 1.296 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.8905, allocations: 17.55 kB / 1.296 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.8905, allocations: 37.75 kB / 1.296 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.8906, allocations: 14.84 kB / 1.296 GB, free: 8.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00209/0.8926, allocations: 2.101 MB / 1.298 GB, free: 8.016 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8927, allocations: 0 / 1.298 GB, free: 8.016 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008241/0.8935, allocations: 303 kB / 1.298 GB, free: 8.016 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.001492/0.895, allocations: 1.545 MB / 1.3 GB, free: 7.102 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000704/0.8957, allocations: 0.5378 MB / 1.3 GB, free: 6.988 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8957, allocations: 1.312 kB / 1.3 GB, free: 6.988 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.896, allocations: 308.4 kB / 1.301 GB, free: 6.871 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.899, allocations: 0.9383 MB / 1.302 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/0.9175, allocations: 19.61 MB / 1.321 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.9188, allocations: 1.956 MB / 1.323 GB, free: 14.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009223/0.9197, allocations: 338.5 kB / 1.323 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006668/0.9204, allocations: 0.8024 MB / 1.324 GB, free: 14.61 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.9204, allocations: 0 / 1.324 GB, free: 14.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.408/3.328, allocations: 50.69 MB / 1.373 GB, free: 15.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.48/23.81, allocations: 7.922 kB / 1.373 GB, free: 15.96 MB / 1.061 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)