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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001245/0.001245, allocations: 108 kB / 15.6 MB, free: 132 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.001411/0.001411, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7347 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 64.17 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2665, allocations: 157.4 MB / 1.053 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1717/0.4382, allocations: 179.3 MB / 1.228 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.4533, allocations: 10.98 MB / 1.239 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.4559, allocations: 79.56 kB / 1.239 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005378/0.4613, allocations: 1.99 MB / 1.241 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004227/0.4656, allocations: 1.62 MB / 1.242 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.4682, allocations: 0.7778 MB / 1.243 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005208/0.4734, allocations: 3.131 MB / 1.246 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.4752, allocations: 1.324 MB / 1.247 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5147/0.9899, allocations: 1.094 MB / 1.248 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.9923, allocations: 1.112 MB / 1.25 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004096/0.9927, allocations: 129.2 kB / 1.25 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.9946, allocations: 0.919 MB / 1.251 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.9951, allocations: 483.8 kB / 1.251 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.9961, allocations: 1.098 MB / 1.252 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.999, allocations: 3.206 MB / 1.255 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.999, allocations: 1.938 kB / 1.255 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.999, allocations: 0 / 1.255 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.578e-05/0.999, allocations: 0 / 1.255 GB, free: 5.938 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.003103/1.002, allocations: 2.753 MB / 1.258 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/1.002, allocations: 8.031 kB / 1.258 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/1.002, allocations: 131.5 kB / 1.258 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/1.004, allocations: 367.7 kB / 1.258 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/1.006, allocations: 1.893 MB / 1.26 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/1.006, allocations: 56.06 kB / 1.26 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.202e-05/1.006, allocations: 78.22 kB / 1.26 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/1.007, allocations: 0.9412 MB / 1.261 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.007, allocations: 0 / 1.261 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/1.007, allocations: 38.64 kB / 1.261 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/1.007, allocations: 26.31 kB / 1.261 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009149/1.008, allocations: 0.6942 MB / 1.262 GB, free: 3.59 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.005075/1.013, allocations: 4.507 MB / 1.266 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/1.014, allocations: 314.7 kB / 1.267 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/1.014, allocations: 179.4 kB / 1.267 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/1.014, allocations: 95.59 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/1.014, allocations: 39.28 kB / 1.267 GB, free: 17.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/1.014, allocations: 0 / 1.267 GB, free: 17.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002894/1.017, allocations: 1.702 MB / 1.269 GB, free: 16.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/1.017, allocations: 54.84 kB / 1.269 GB, free: 16.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004638/1.022, allocations: 2.976 MB / 1.272 GB, free: 16.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/1.022, allocations: 32.33 kB / 1.272 GB, free: 16.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008155/1.023, allocations: 1.054 MB / 1.273 GB, free: 16.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.023, allocations: 116.2 kB / 1.273 GB, free: 16.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/1.023, allocations: 111.5 kB / 1.273 GB, free: 16.03 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/1.023, allocations: 326.5 kB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/1.023, allocations: 163.4 kB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/1.024, allocations: 366.9 kB / 1.274 GB, free: 15.49 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.001977/1.026, allocations: 1.077 MB / 1.275 GB, free: 15.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.026, allocations: 1.688 kB / 1.275 GB, free: 15.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001173/1.027, allocations: 0.7963 MB / 1.276 GB, free: 15.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.027, allocations: 7.312 kB / 1.276 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.027, allocations: 6.906 kB / 1.276 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/1.027, allocations: 64.44 kB / 1.276 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/1.027, allocations: 102.3 kB / 1.276 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/1.029, allocations: 1.863 MB / 1.278 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.03, allocations: 30.44 kB / 1.278 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/1.03, allocations: 25.28 kB / 1.278 GB, free: 13.51 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.001133/1.031, allocations: 0.7983 MB / 1.278 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/1.032, allocations: 233.7 kB / 1.279 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/1.032, allocations: 253.8 kB / 1.279 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.032, allocations: 5.406 kB / 1.279 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.032, allocations: 0 / 1.279 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006455/1.033, allocations: 0.6063 MB / 1.279 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/1.036, allocations: 2.051 MB / 1.282 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.036, allocations: 3.688 kB / 1.282 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/1.037, allocations: 65.56 kB / 1.282 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001435/1.037, allocations: 63.17 kB / 1.282 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/1.037, allocations: 10.88 kB / 1.282 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/1.038, allocations: 1.862 MB / 1.283 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.038, allocations: 4.406 kB / 1.283 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/1.039, allocations: 0.9255 MB / 1.284 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007911/1.04, allocations: 414.9 kB / 1.285 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/1.041, allocations: 13.25 kB / 1.285 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/1.041, allocations: 13.75 kB / 1.285 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/1.041, allocations: 37.95 kB / 1.285 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/1.041, allocations: 20.97 kB / 1.285 GB, free: 10.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003469/1.045, allocations: 2.102 MB / 1.287 GB, free: 10.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.045, allocations: 0 / 1.287 GB, free: 10.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001374/1.046, allocations: 304.3 kB / 1.287 GB, free: 10.16 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.001837/1.048, allocations: 1.551 MB / 1.289 GB, free: 9.242 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009841/1.049, allocations: 0.5427 MB / 1.289 GB, free: 9.129 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.049, allocations: 1.125 kB / 1.289 GB, free: 9.129 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/1.05, allocations: 301.4 kB / 1.29 GB, free: 9.016 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/1.053, allocations: 0.9543 MB / 1.29 GB, free: 8.902 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/1.078, allocations: 19.58 MB / 1.31 GB, free: 1.715 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/1.08, allocations: 1.957 MB / 1.311 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00129/1.081, allocations: 347.8 kB / 1.312 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008229/1.082, allocations: 0.8009 MB / 1.313 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of SimCode: time 4.7e-07/1.082, allocations: 0 / 1.313 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08038/1.162, allocations: 50.69 MB / 1.362 GB, free: 8.898 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.294/10.46, allocations: 9.531 kB / 1.362 GB, free: 8.895 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)