Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001168/0.001168, allocations: 194 kB / 16.14 MB, free: 6.699 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.365/2.365, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 64.16 kB / 0.8985 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2225, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6582/0.8807, allocations: 293 MB / 1.338 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.898, allocations: 17.23 MB / 1.355 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.9, allocations: 71.84 kB / 1.355 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003175/0.9031, allocations: 1.649 MB / 1.357 GB, free: 296 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.9136, allocations: 6.074 MB / 1.363 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005109/0.9187, allocations: 2.665 MB / 1.365 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007808/0.9265, allocations: 11.21 MB / 1.376 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.9288, allocations: 2.2 MB / 1.378 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003031/0.9319, allocations: 2.414 MB / 1.381 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.9352, allocations: 2.807 MB / 1.384 GB, free: 12.17 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.9356, allocations: 182.9 kB / 1.384 GB, free: 12.17 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/0.9465, allocations: 7.191 MB / 1.391 GB, free: 8.914 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.9476, allocations: 1.194 MB / 1.392 GB, free: 8.152 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.9493, allocations: 1.725 MB / 1.394 GB, free: 7.145 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007888/0.9572, allocations: 7.177 MB / 1.401 GB, free: 3.082 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.9572, allocations: 3.938 kB / 1.401 GB, free: 3.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 6.91e-07/0.9572, allocations: 0 / 1.401 GB, free: 3.078 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.886e-05/0.9572, allocations: 4 kB / 1.401 GB, free: 3.074 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.008237/0.9655, allocations: 4.121 MB / 1.405 GB, free: 336 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.9655, allocations: 12.38 kB / 1.405 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000388/0.9659, allocations: 370 kB / 1.405 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005576/0.9715, allocations: 0.9185 MB / 1.406 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.974, allocations: 1.837 MB / 1.408 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.9741, allocations: 195.9 kB / 1.408 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.9745, allocations: 262.2 kB / 1.408 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004766/0.9793, allocations: 3.34 MB / 1.411 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/0.9793, allocations: 7.906 kB / 1.411 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.9796, allocations: 108.1 kB / 1.411 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.9797, allocations: 137 kB / 1.412 GB, free: 9.938 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005181/0.9849, allocations: 3.498 MB / 1.415 GB, free: 6.426 MB / 1.029 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.01243/0.9973, allocations: 12.1 MB / 1.427 GB, free: 9.559 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004221/1.002, allocations: 3.5 MB / 1.43 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/1.004, allocations: 1.809 MB / 1.432 GB, free: 4.156 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/1.005, allocations: 1.493 MB / 1.433 GB, free: 2.359 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.005, allocations: 68.75 kB / 1.434 GB, free: 2.281 MB / 1.045 GB Notification: Performance of pre-optimization done (n=278): time 3.907e-06/1.005, allocations: 0 / 1.434 GB, free: 2.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=278): time 0.005666/1.011, allocations: 3.882 MB / 1.437 GB, free: 14.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/1.011, allocations: 81.59 kB / 1.437 GB, free: 14.26 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/1.013, allocations: 1.379 MB / 1.439 GB, free: 12.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/1.013, allocations: 77.7 kB / 1.439 GB, free: 12.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/1.013, allocations: 0.9843 MB / 1.44 GB, free: 11.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006311/1.014, allocations: 0.9481 MB / 1.441 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005649/1.015, allocations: 409 kB / 1.441 GB, free: 10.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.749e-05/1.015, allocations: 305.1 kB / 1.441 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/1.016, allocations: 1.094 MB / 1.442 GB, free: 9.047 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/1.018, allocations: 1.355 MB / 1.444 GB, free: 7.625 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00364/1.022, allocations: 2.646 MB / 1.446 GB, free: 4.887 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.022, allocations: 8 kB / 1.446 GB, free: 4.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004193/1.026, allocations: 2.978 MB / 1.449 GB, free: 1.855 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.026, allocations: 9.969 kB / 1.449 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.026, allocations: 16.03 kB / 1.449 GB, free: 1.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.026, allocations: 12 kB / 1.449 GB, free: 1.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/1.028, allocations: 0.511 MB / 1.45 GB, free: 1.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/1.028, allocations: 16 kB / 1.45 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/1.031, allocations: 381.7 kB / 1.45 GB, free: 0.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.031, allocations: 79.98 kB / 1.45 GB, free: 0.8398 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008524/1.032, allocations: 0.6494 MB / 1.451 GB, free: 184 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/1.032, allocations: 229.3 kB / 1.451 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/1.037, allocations: 3.112 MB / 1.454 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.037, allocations: 31.98 kB / 1.454 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.037, allocations: 0 / 1.454 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003537/1.04, allocations: 2.653 MB / 1.457 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008172/1.048, allocations: 6.212 MB / 1.463 GB, free: 3.777 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.048, allocations: 0 / 1.463 GB, free: 3.777 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.051, allocations: 0.5462 MB / 1.463 GB, free: 3.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/1.051, allocations: 12 kB / 1.463 GB, free: 3.219 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/1.051, allocations: 59.97 kB / 1.463 GB, free: 3.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/1.051, allocations: 15.94 kB / 1.463 GB, free: 3.145 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.051, allocations: 0 / 1.463 GB, free: 3.145 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/1.057, allocations: 4.573 MB / 1.468 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000885/1.058, allocations: 0.6032 MB / 1.469 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/1.058, allocations: 55.98 kB / 1.469 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.06, allocations: 225.9 kB / 1.469 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/1.06, allocations: 161.9 kB / 1.469 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.06, allocations: 79.97 kB / 1.469 GB, free: 13.36 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001065/1.062, allocations: 0.9539 MB / 1.47 GB, free: 12.41 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.8e-07/1.062, allocations: 0 / 1.47 GB, free: 12.41 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001683/1.063, allocations: 0.9862 MB / 1.471 GB, free: 11.42 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006593/1.07, allocations: 5.383 MB / 1.476 GB, free: 5.957 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003574/1.073, allocations: 2.763 MB / 1.479 GB, free: 3.164 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.073, allocations: 7.938 kB / 1.479 GB, free: 3.156 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/1.075, allocations: 1.511 MB / 1.48 GB, free: 1.641 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/1.08, allocations: 1.292 MB / 1.482 GB, free: 372 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02773/1.108, allocations: 22.39 MB / 1.504 GB, free: 8.688 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.109, allocations: 1.899 MB / 1.505 GB, free: 6.754 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002529/1.112, allocations: 0.8397 MB / 1.506 GB, free: 5.91 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.113, allocations: 1.089 MB / 1.507 GB, free: 4.82 MB / 1.123 GB Notification: Performance of SimCode: time 2.9e-07/1.113, allocations: 0 / 1.507 GB, free: 4.82 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7696/1.883, allocations: 65.28 MB / 1.571 GB, free: 4.223 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.883, allocations: 219.7 kB / 1.571 GB, free: 3.957 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/5.14, allocations: 2.953 kB / 1.571 GB, free: 3.957 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)