Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_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.001109/0.001109, 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.001142/0.001142, allocations: 196.2 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 68.73 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2369, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7274/0.9643, allocations: 295.1 MB / 1.072 GB, free: 260 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02368/0.9881, allocations: 16.86 MB / 1.088 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004718/0.9928, allocations: 71.62 kB / 1.088 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005708/0.9986, allocations: 1.892 MB / 1.09 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01719/1.016, allocations: 6.371 MB / 1.096 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008224/1.024, allocations: 2.958 MB / 1.099 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01023/1.034, allocations: 7.656 MB / 1.107 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003952/1.038, allocations: 2.554 MB / 1.109 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005789/1.044, allocations: 2.764 MB / 1.112 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005174/1.049, allocations: 2.699 MB / 1.114 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00089/1.05, allocations: 328 kB / 1.115 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/1.063, allocations: 6.169 MB / 1.121 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002051/1.065, allocations: 1.336 MB / 1.122 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003531/1.068, allocations: 1.883 MB / 1.124 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/1.084, allocations: 6.845 MB / 1.131 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/1.084, allocations: 0 / 1.131 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.445e-06/1.084, allocations: 4 kB / 1.131 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001394/1.084, allocations: 0 / 1.131 GB, free: 3.695 MB / 0.8419 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.01225/1.096, allocations: 4.112 MB / 1.135 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.097, allocations: 8.031 kB / 1.135 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006325/1.097, allocations: 379 kB / 1.135 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00652/1.104, allocations: 0.9133 MB / 1.136 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/1.108, allocations: 1.818 MB / 1.138 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/1.108, allocations: 197.1 kB / 1.138 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006012/1.108, allocations: 259.9 kB / 1.138 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005615/1.114, allocations: 3.338 MB / 1.141 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/1.114, allocations: 4 kB / 1.141 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002531/1.114, allocations: 108 kB / 1.141 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/1.114, allocations: 137 kB / 1.142 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005554/1.12, allocations: 3.482 MB / 1.145 GB, free: 4.703 MB / 0.8575 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.01503/1.135, allocations: 12.21 MB / 1.157 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/1.14, allocations: 3.511 MB / 1.16 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002678/1.142, allocations: 1.83 MB / 1.162 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/1.144, allocations: 1.489 MB / 1.164 GB, free: 356 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/1.144, allocations: 64.75 kB / 1.164 GB, free: 280 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=278): time 4.548e-06/1.144, allocations: 0 / 1.164 GB, free: 280 kB / 0.8731 GB Notification: Performance of matching and sorting (n=278): time 0.006739/1.151, allocations: 3.877 MB / 1.167 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/1.151, allocations: 81.53 kB / 1.167 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/1.153, allocations: 1.359 MB / 1.169 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002092/1.153, allocations: 77.7 kB / 1.169 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007116/1.154, allocations: 0.9725 MB / 1.17 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009879/1.155, allocations: 0.9431 MB / 1.171 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006516/1.155, allocations: 412.8 kB / 1.171 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/1.155, allocations: 305.1 kB / 1.171 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/1.157, allocations: 1.09 MB / 1.173 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/1.159, allocations: 1.38 MB / 1.174 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/1.163, allocations: 2.65 MB / 1.176 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.163, allocations: 0 / 1.176 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004636/1.167, allocations: 2.966 MB / 1.179 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.167, allocations: 7.938 kB / 1.179 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.167, allocations: 8 kB / 1.179 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/1.167, allocations: 16.5 kB / 1.179 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/1.169, allocations: 0.5188 MB / 1.18 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-05/1.17, allocations: 12.62 kB / 1.18 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/1.172, allocations: 186 kB / 1.18 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/1.172, allocations: 87.97 kB / 1.18 GB, free: 15.01 MB / 0.9044 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.001097/1.173, allocations: 0.6423 MB / 1.181 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/1.173, allocations: 229.3 kB / 1.181 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004776/1.178, allocations: 3.112 MB / 1.184 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/1.178, allocations: 28 kB / 1.184 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.178, allocations: 0 / 1.184 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003593/1.182, allocations: 2.645 MB / 1.187 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008859/1.191, allocations: 6.201 MB / 1.193 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/1.191, allocations: 0 / 1.193 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/1.193, allocations: 0.5501 MB / 1.193 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/1.193, allocations: 15.94 kB / 1.193 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.193, allocations: 55.98 kB / 1.193 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/1.193, allocations: 12 kB / 1.193 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.193, allocations: 0 / 1.193 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006562/1.2, allocations: 4.803 MB / 1.198 GB, free: 12.4 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.201, allocations: 0.6071 MB / 1.199 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/1.201, allocations: 51.94 kB / 1.199 GB, free: 11.72 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/1.203, allocations: 67.97 kB / 1.199 GB, free: 11.65 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/1.203, allocations: 162 kB / 1.199 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.203, allocations: 83.97 kB / 1.199 GB, free: 11.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001278/1.205, allocations: 0.9298 MB / 1.2 GB, free: 10.48 MB / 0.92 GB Notification: Performance of sort global known variables: time 4e-07/1.205, allocations: 0 / 1.2 GB, free: 10.48 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002007/1.207, allocations: 0.9784 MB / 1.201 GB, free: 9.504 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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.007469/1.214, allocations: 5.617 MB / 1.206 GB, free: 3.797 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.226, allocations: 5.536 MB / 1.212 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.226, allocations: 0 / 1.212 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/1.228, allocations: 1.515 MB / 1.213 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/1.234, allocations: 1.359 MB / 1.215 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02885/1.263, allocations: 21.08 MB / 1.235 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.264, allocations: 1.89 MB / 1.237 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002942/1.267, allocations: 0.8356 MB / 1.238 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/1.269, allocations: 1.089 MB / 1.239 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of SimCode: time 6.81e-07/1.269, allocations: 0 / 1.239 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4507/1.719, allocations: 67.65 MB / 1.305 GB, free: 395.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/12.09, allocations: 8.094 kB / 1.305 GB, free: 395.3 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)