Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_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.003538/0.003538, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.001038/0.001038, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.161/1.161, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.401/2.401, allocations: 482.6 MB / 0.755 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 63.89 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2596, allocations: 162.3 MB / 1.242 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6284/0.888, allocations: 179.3 MB / 1.417 GB, free: 14.29 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01331/0.9014, allocations: 10.98 MB / 1.428 GB, free: 5.293 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.9027, allocations: 89.25 kB / 1.428 GB, free: 5.262 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003934/0.9067, allocations: 2.003 MB / 1.43 GB, free: 3.883 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.9098, allocations: 1.618 MB / 1.431 GB, free: 2.574 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.9113, allocations: 0.7921 MB / 1.432 GB, free: 1.957 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002649/0.914, allocations: 3.145 MB / 1.435 GB, free: 100 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.9152, allocations: 1.318 MB / 1.437 GB, free: 15.39 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.9166, allocations: 1.237 MB / 1.438 GB, free: 14.51 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.9181, allocations: 1.112 MB / 1.439 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.9183, allocations: 124 kB / 1.439 GB, free: 13.28 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.9197, allocations: 0.9161 MB / 1.44 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.9201, allocations: 474.1 kB / 1.44 GB, free: 11.9 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008717/0.921, allocations: 1.095 MB / 1.441 GB, free: 10.8 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003071/0.924, allocations: 3.479 MB / 1.445 GB, free: 7.305 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9241, allocations: 0 / 1.445 GB, free: 7.305 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9241, allocations: 0 / 1.445 GB, free: 7.305 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.9241, allocations: 4 kB / 1.445 GB, free: 7.301 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.003134/0.9272, allocations: 2.886 MB / 1.448 GB, free: 4.348 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.9273, allocations: 12.03 kB / 1.448 GB, free: 4.336 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.9274, allocations: 122.7 kB / 1.448 GB, free: 4.207 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.9285, allocations: 386 kB / 1.448 GB, free: 3.828 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.9311, allocations: 2.047 MB / 1.45 GB, free: 1.719 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.9312, allocations: 58 kB / 1.45 GB, free: 1.66 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.9314, allocations: 76 kB / 1.45 GB, free: 1.586 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.9332, allocations: 0.9368 MB / 1.451 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.9333, allocations: 7.938 kB / 1.451 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.865e-05/0.9334, allocations: 35.98 kB / 1.451 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.9335, allocations: 28.94 kB / 1.451 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.935, allocations: 0.6909 MB / 1.452 GB, free: 15.84 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.004774/0.9398, allocations: 4.461 MB / 1.456 GB, free: 11.17 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.9402, allocations: 322.6 kB / 1.457 GB, free: 10.85 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.9405, allocations: 176.8 kB / 1.457 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.9406, allocations: 93.27 kB / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.9407, allocations: 42.55 kB / 1.457 GB, free: 10.51 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 1.443e-06/0.9407, allocations: 4 kB / 1.457 GB, free: 10.51 MB / 1.154 GB Notification: Performance of matching and sorting (n=32): time 0.002417/0.9431, allocations: 1.739 MB / 1.459 GB, free: 8.688 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.9431, allocations: 51.41 kB / 1.459 GB, free: 8.625 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/0.9462, allocations: 2.957 MB / 1.461 GB, free: 5.652 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.9462, allocations: 33.7 kB / 1.461 GB, free: 5.613 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000853/0.9471, allocations: 1.067 MB / 1.463 GB, free: 4.539 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.19e-05/0.9472, allocations: 123 kB / 1.463 GB, free: 4.418 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.9473, allocations: 106.2 kB / 1.463 GB, free: 4.309 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9474, allocations: 330 kB / 1.463 GB, free: 3.98 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.9477, allocations: 173 kB / 1.463 GB, free: 3.812 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.948, allocations: 362.4 kB / 1.464 GB, free: 3.371 MB / 1.154 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.001819/0.9498, allocations: 1.084 MB / 1.465 GB, free: 2.184 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9499, allocations: 7.875 kB / 1.465 GB, free: 2.176 MB / 1.154 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009654/0.9508, allocations: 0.8047 MB / 1.465 GB, free: 1.359 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.9508, allocations: 8 kB / 1.465 GB, free: 1.352 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.9509, allocations: 4 kB / 1.465 GB, free: 1.348 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.951, allocations: 65.38 kB / 1.466 GB, free: 1.281 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.9513, allocations: 103.8 kB / 1.466 GB, free: 1.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.9527, allocations: 1.861 MB / 1.467 GB, free: 15.18 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.9533, allocations: 36.91 kB / 1.467 GB, free: 15.15 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.9534, allocations: 27.94 kB / 1.467 GB, free: 15.12 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.0007878/0.9542, allocations: 0.7902 MB / 1.468 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.9544, allocations: 246.5 kB / 1.468 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.9547, allocations: 255.7 kB / 1.469 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.9547, allocations: 4 kB / 1.469 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9547, allocations: 4 kB / 1.469 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000599/0.9553, allocations: 0.6009 MB / 1.469 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.9577, allocations: 2.05 MB / 1.471 GB, free: 10.99 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.9577, allocations: 4 kB / 1.471 GB, free: 10.99 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.9579, allocations: 63.91 kB / 1.471 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.9581, allocations: 52.83 kB / 1.471 GB, free: 10.87 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.9581, allocations: 12 kB / 1.471 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.9595, allocations: 1.857 MB / 1.473 GB, free: 8.863 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.9595, allocations: 11.94 kB / 1.473 GB, free: 8.852 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/0.9604, allocations: 0.9281 MB / 1.474 GB, free: 7.863 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.9609, allocations: 415.4 kB / 1.475 GB, free: 7.438 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.9611, allocations: 15.98 kB / 1.475 GB, free: 7.422 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.9616, allocations: 20.02 kB / 1.475 GB, free: 7.402 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.9616, allocations: 35.84 kB / 1.475 GB, free: 7.367 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.9616, allocations: 15.98 kB / 1.475 GB, free: 7.352 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002244/0.9639, allocations: 2.083 MB / 1.477 GB, free: 5.266 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9639, allocations: 0 / 1.477 GB, free: 5.266 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007318/0.9646, allocations: 303.9 kB / 1.477 GB, free: 4.969 MB / 1.17 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.001463/0.9661, allocations: 1.565 MB / 1.479 GB, free: 3.34 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007237/0.9668, allocations: 0.5388 MB / 1.479 GB, free: 2.789 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9669, allocations: 0 / 1.479 GB, free: 2.789 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.9672, allocations: 298.4 kB / 1.479 GB, free: 2.484 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/0.9701, allocations: 0.9537 MB / 1.48 GB, free: 1.562 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.9903, allocations: 17.15 MB / 1.497 GB, free: 15.98 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.9917, allocations: 1.949 MB / 1.499 GB, free: 14 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007597/0.9925, allocations: 350.8 kB / 1.499 GB, free: 13.65 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008046/0.9933, allocations: 0.8039 MB / 1.5 GB, free: 12.85 MB / 1.201 GB Notification: Performance of SimCode: time 3.9e-07/0.9933, allocations: 0 / 1.5 GB, free: 12.85 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.211/2.204, allocations: 51.21 MB / 1.55 GB, free: 10.32 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/15.83, allocations: 11.8 kB / 1.55 GB, free: 10.3 MB / 1.248 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)