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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001285/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001234/0.001234, allocations: 195.5 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.428/2.428, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 61.06 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2399, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1663/0.4062, allocations: 176.9 MB / 1.225 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.419, allocations: 10.95 MB / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.4209, allocations: 79.56 kB / 1.236 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004376/0.4253, allocations: 1.839 MB / 1.238 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.4301, allocations: 1.481 MB / 1.239 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.4319, allocations: 0.7106 MB / 1.24 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003587/0.4355, allocations: 3.704 MB / 1.243 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.4367, allocations: 1.16 MB / 1.244 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.4377, allocations: 1.003 MB / 1.245 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.4392, allocations: 1.112 MB / 1.246 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.4394, allocations: 84 kB / 1.247 GB, free: 440 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4443/0.8837, allocations: 0.9996 MB / 1.248 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005976/0.8843, allocations: 434.4 kB / 1.248 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.8856, allocations: 1.046 MB / 1.249 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.8883, allocations: 3.104 MB / 1.252 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8883, allocations: 0 / 1.252 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8883, allocations: 3.719 kB / 1.252 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.473e-05/0.8883, allocations: 0 / 1.252 GB, free: 6.738 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.003119/0.8915, allocations: 2.704 MB / 1.255 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.8915, allocations: 11 kB / 1.255 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.8916, allocations: 127.9 kB / 1.255 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.8928, allocations: 371.7 kB / 1.255 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.895, allocations: 1.883 MB / 1.257 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.895, allocations: 62.72 kB / 1.257 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.373e-05/0.8951, allocations: 71.31 kB / 1.257 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.8963, allocations: 0.9389 MB / 1.258 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.8963, allocations: 3.688 kB / 1.258 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.8964, allocations: 34.56 kB / 1.258 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.8964, allocations: 27.31 kB / 1.258 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009125/0.8973, allocations: 0.7001 MB / 1.259 GB, free: 4.422 MB / 0.9981 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.004331/0.9017, allocations: 4.492 MB / 1.263 GB, free: 18.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.9021, allocations: 313.6 kB / 1.263 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.9023, allocations: 178.3 kB / 1.264 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.9024, allocations: 95.06 kB / 1.264 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.9024, allocations: 44.17 kB / 1.264 GB, free: 18.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.9024, allocations: 0.6562 kB / 1.264 GB, free: 18.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002462/0.9049, allocations: 1.701 MB / 1.265 GB, free: 17.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.9049, allocations: 56.38 kB / 1.265 GB, free: 17.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/0.9088, allocations: 2.971 MB / 1.268 GB, free: 17.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.9089, allocations: 36.36 kB / 1.268 GB, free: 17.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007836/0.9097, allocations: 1.048 MB / 1.269 GB, free: 16.95 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.9098, allocations: 124.8 kB / 1.27 GB, free: 16.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.9099, allocations: 114.8 kB / 1.27 GB, free: 16.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.91, allocations: 324.3 kB / 1.27 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.9103, allocations: 165.4 kB / 1.27 GB, free: 16.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.9107, allocations: 371.3 kB / 1.27 GB, free: 16.3 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.002165/0.9128, allocations: 1.075 MB / 1.272 GB, free: 15.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.9128, allocations: 5.719 kB / 1.272 GB, free: 15.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001481/0.9143, allocations: 0.7902 MB / 1.272 GB, free: 15.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.9144, allocations: 9.25 kB / 1.272 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.9144, allocations: 10.28 kB / 1.272 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.9146, allocations: 65.44 kB / 1.272 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.9149, allocations: 98.23 kB / 1.272 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.9162, allocations: 1.686 MB / 1.274 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.9174, allocations: 40.77 kB / 1.274 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.9174, allocations: 27.89 kB / 1.274 GB, free: 14.44 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.001109/0.9186, allocations: 0.7916 MB / 1.275 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/0.9189, allocations: 238.3 kB / 1.275 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.9194, allocations: 251.3 kB / 1.275 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9194, allocations: 4.453 kB / 1.275 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9194, allocations: 2.062 kB / 1.275 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006189/0.92, allocations: 0.6002 MB / 1.276 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.9232, allocations: 2.054 MB / 1.278 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.9232, allocations: 3.906 kB / 1.278 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.9235, allocations: 63.52 kB / 1.278 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.9236, allocations: 59.3 kB / 1.278 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.9237, allocations: 13.69 kB / 1.278 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.9249, allocations: 1.674 MB / 1.28 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.9249, allocations: 3.438 kB / 1.28 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.9262, allocations: 0.9254 MB / 1.281 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/0.9269, allocations: 409.9 kB / 1.281 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.9271, allocations: 19.08 kB / 1.281 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/0.9278, allocations: 28.83 kB / 1.281 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.9278, allocations: 36.28 kB / 1.281 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.9278, allocations: 14.38 kB / 1.281 GB, free: 11.37 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002597/0.9304, allocations: 2.105 MB / 1.283 GB, free: 11.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.242e-06/0.9305, allocations: 0 / 1.283 GB, free: 11.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00099/0.9314, allocations: 303.9 kB / 1.284 GB, free: 11.22 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.001488/0.9329, allocations: 1.564 MB / 1.285 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007511/0.9337, allocations: 0.5204 MB / 1.286 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.9337, allocations: 1.094 kB / 1.286 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.934, allocations: 303.5 kB / 1.286 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.9371, allocations: 0.8852 MB / 1.287 GB, free: 9.996 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/0.9626, allocations: 20.05 MB / 1.306 GB, free: 2.086 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.9638, allocations: 1.96 MB / 1.308 GB, free: 1.316 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001078/0.9649, allocations: 347.6 kB / 1.309 GB, free: 1.266 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/0.9656, allocations: 0.7957 MB / 1.309 GB, free: 1.258 MB / 1.014 GB Notification: Performance of SimCode: time 5e-07/0.9656, allocations: 0 / 1.309 GB, free: 1.258 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.972/7.938, allocations: 49.4 MB / 1.358 GB, free: 12.37 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/7.938, allocations: 307.3 kB / 1.358 GB, free: 11.99 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.171/13.11, allocations: 0 / 1.358 GB, free: 11.99 MB / 1.045 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=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1)