Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IBPSA_latest_IBPSA_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.001239/0.001239, allocations: 100.9 kB / 16.4 MB, free: 6.5 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.001133/0.001133, allocations: 192 kB / 17.34 MB, free: 5.738 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7623/0.7623, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 64.77 kB / 0.5735 GB, free: 26.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1308, allocations: 78.86 MB / 0.6505 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5988/0.7296, allocations: 295.2 MB / 0.9388 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02509/0.7548, allocations: 17.02 MB / 0.9555 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.758, allocations: 87.56 kB / 0.9555 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004883/0.7629, allocations: 1.884 MB / 0.9574 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01579/0.7787, allocations: 6.433 MB / 0.9637 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007646/0.7864, allocations: 2.946 MB / 0.9665 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.7972, allocations: 7.705 MB / 0.9741 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004399/0.8017, allocations: 2.586 MB / 0.9766 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006379/0.8081, allocations: 3.002 MB / 0.9795 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005535/0.8136, allocations: 2.663 MB / 0.9821 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.8147, allocations: 331.9 kB / 0.9824 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/0.8273, allocations: 6.153 MB / 0.9885 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002085/0.8294, allocations: 1.333 MB / 0.9898 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003213/0.8326, allocations: 1.886 MB / 0.9916 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.846, allocations: 6.92 MB / 0.9984 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.8461, allocations: 4 kB / 0.9984 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8461, allocations: 0 / 0.9984 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.128e-05/0.8462, allocations: 0 / 0.9984 GB, free: 14.5 MB / 0.7637 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.01023/0.8564, allocations: 4.238 MB / 1.002 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.8565, allocations: 12.03 kB / 1.003 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004471/0.8569, allocations: 375 kB / 1.003 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/0.8629, allocations: 0.919 MB / 1.004 GB, free: 8.883 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.8663, allocations: 1.941 MB / 1.006 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.8665, allocations: 201.1 kB / 1.006 GB, free: 6.688 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/0.8669, allocations: 252 kB / 1.006 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005419/0.8723, allocations: 3.342 MB / 1.009 GB, free: 2.996 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/0.8724, allocations: 7.953 kB / 1.009 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.8726, allocations: 108 kB / 1.009 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.8728, allocations: 141 kB / 1.01 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005955/0.8787, allocations: 3.498 MB / 1.013 GB, free: 15.23 MB / 0.7794 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.0158/0.8946, allocations: 12.42 MB / 1.025 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004701/0.8993, allocations: 3.503 MB / 1.029 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002865/0.9022, allocations: 1.841 MB / 1.03 GB, free: 12.43 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/0.9037, allocations: 1.493 MB / 1.032 GB, free: 10.62 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.9038, allocations: 64.75 kB / 1.032 GB, free: 10.55 MB / 0.795 GB Notification: Performance of pre-optimization done (n=278): time 4.248e-06/0.9038, allocations: 0 / 1.032 GB, free: 10.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=278): time 0.006664/0.9105, allocations: 3.898 MB / 1.036 GB, free: 6.598 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.9106, allocations: 77.59 kB / 1.036 GB, free: 6.508 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.9125, allocations: 1.376 MB / 1.037 GB, free: 5.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.9127, allocations: 73.7 kB / 1.037 GB, free: 5.047 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007673/0.9135, allocations: 1.01 MB / 1.038 GB, free: 4.027 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009169/0.9144, allocations: 0.9952 MB / 1.039 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006261/0.9151, allocations: 409 kB / 1.04 GB, free: 2.617 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.9152, allocations: 301.1 kB / 1.04 GB, free: 2.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.9169, allocations: 1.098 MB / 1.041 GB, free: 1.219 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.9189, allocations: 1.359 MB / 1.042 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004011/0.923, allocations: 2.65 MB / 1.045 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.923, allocations: 0 / 1.045 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005034/0.928, allocations: 2.987 MB / 1.048 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.9281, allocations: 8 kB / 1.048 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.9281, allocations: 7.938 kB / 1.048 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.813e-05/0.9281, allocations: 16.56 kB / 1.048 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.9304, allocations: 0.511 MB / 1.048 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.932e-05/0.9304, allocations: 16 kB / 1.048 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.9324, allocations: 190.5 kB / 1.048 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.9326, allocations: 83.98 kB / 1.049 GB, free: 9.188 MB / 0.8106 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.001159/0.9338, allocations: 0.6455 MB / 1.049 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004578/0.9342, allocations: 238.5 kB / 1.049 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005117/0.9393, allocations: 3.125 MB / 1.052 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.9394, allocations: 24 kB / 1.052 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.9394, allocations: 0 / 1.052 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003927/0.9433, allocations: 2.653 MB / 1.055 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2819/1.225, allocations: 6.217 MB / 1.061 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.225, allocations: 0 / 1.061 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.228, allocations: 0.5387 MB / 1.062 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/1.228, allocations: 11.91 kB / 1.062 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/1.228, allocations: 63.3 kB / 1.062 GB, free: 320.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/1.228, allocations: 8.875 kB / 1.062 GB, free: 320.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.228, allocations: 0.7812 kB / 1.062 GB, free: 320.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007037/1.235, allocations: 4.585 MB / 1.066 GB, free: 318.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.236, allocations: 0.6227 MB / 1.067 GB, free: 318.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/1.236, allocations: 54.34 kB / 1.067 GB, free: 318.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.238, allocations: 64.89 kB / 1.067 GB, free: 318.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/1.238, allocations: 159.6 kB / 1.067 GB, free: 318.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/1.239, allocations: 83.75 kB / 1.067 GB, free: 318.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001339/1.24, allocations: 0.9433 MB / 1.068 GB, free: 318.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/1.24, allocations: 0 / 1.068 GB, free: 318.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001924/1.242, allocations: 0.9894 MB / 1.069 GB, free: 318 MB / 0.8106 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.006887/1.249, allocations: 5.401 MB / 1.074 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00393/1.253, allocations: 2.776 MB / 1.077 GB, free: 314.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.253, allocations: 6.281 kB / 1.077 GB, free: 314.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/1.255, allocations: 1.506 MB / 1.079 GB, free: 314 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00544/1.26, allocations: 1.345 MB / 1.08 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02139/1.281, allocations: 19.54 MB / 1.099 GB, free: 303.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009809/1.282, allocations: 1.895 MB / 1.101 GB, free: 301.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002429/1.285, allocations: 0.8381 MB / 1.102 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.286, allocations: 1.089 MB / 1.103 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of SimCode: time 8.42e-07/1.286, allocations: 0 / 1.103 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08465/1.371, allocations: 68.23 MB / 1.169 GB, free: 232 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.69, allocations: 4.828 kB / 1.169 GB, free: 232 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)