Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",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.005355/0.005355, allocations: 101 kB / 15.73 MB, free: 6.059 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.001244/0.001244, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00243/0.00243, allocations: 285.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.148/1.148, allocations: 178.5 MB / 0.5074 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 95.84 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3845, allocations: 89.12 MB / 0.7813 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6861/1.071, allocations: 314.1 MB / 1.088 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02439/1.095, allocations: 18.45 MB / 1.106 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004624/1.1, allocations: 92.5 kB / 1.106 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005748/1.105, allocations: 2.151 MB / 1.108 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01816/1.124, allocations: 7.313 MB / 1.115 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008356/1.132, allocations: 3.229 MB / 1.119 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01111/1.143, allocations: 9.097 MB / 1.128 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004557/1.148, allocations: 3.102 MB / 1.131 GB, free: 5.781 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006894/1.155, allocations: 3.316 MB / 1.134 GB, free: 3.199 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00651/1.161, allocations: 3.234 MB / 1.137 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/1.162, allocations: 400 kB / 1.137 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/1.178, allocations: 7.002 MB / 1.144 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002587/1.18, allocations: 1.693 MB / 1.146 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00424/1.184, allocations: 2.297 MB / 1.148 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01618/1.201, allocations: 8.215 MB / 1.156 GB, free: 14.48 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.201, allocations: 4 kB / 1.156 GB, free: 14.47 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/1.201, allocations: 0 / 1.156 GB, free: 14.47 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001334/1.201, allocations: 0 / 1.156 GB, free: 14.47 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01328/1.214, allocations: 5.119 MB / 1.161 GB, free: 9.309 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.214, allocations: 15.97 kB / 1.161 GB, free: 9.293 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006763/1.215, allocations: 456.5 kB / 1.162 GB, free: 8.84 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006482/1.221, allocations: 1.03 MB / 1.163 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004803/1.226, allocations: 2.267 MB / 1.165 GB, free: 5.535 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/1.226, allocations: 241.9 kB / 1.165 GB, free: 5.301 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005761/1.227, allocations: 329.5 kB / 1.165 GB, free: 4.984 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007355/1.234, allocations: 4.232 MB / 1.169 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.296e-05/1.234, allocations: 11.95 kB / 1.169 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/1.235, allocations: 143 kB / 1.17 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/1.235, allocations: 166.4 kB / 1.17 GB, free: 372 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008148/1.243, allocations: 4.783 MB / 1.174 GB, free: 11.57 MB / 0.8106 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.02057/1.264, allocations: 14.47 MB / 1.189 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006453/1.27, allocations: 4.559 MB / 1.193 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/1.274, allocations: 2.463 MB / 1.195 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/1.276, allocations: 1.604 MB / 1.197 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.49e-05/1.276, allocations: 77.62 kB / 1.197 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=392): time 5.12e-06/1.276, allocations: 0 / 1.197 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=392): time 0.009466/1.285, allocations: 5.545 MB / 1.202 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/1.285, allocations: 94.48 kB / 1.203 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/1.288, allocations: 1.684 MB / 1.204 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002717/1.288, allocations: 93.7 kB / 1.204 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008817/1.289, allocations: 1.153 MB / 1.205 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/1.29, allocations: 1.384 MB / 1.207 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008814/1.291, allocations: 0.5547 MB / 1.207 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.291, allocations: 305.1 kB / 1.208 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/1.294, allocations: 1.568 MB / 1.209 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002857/1.297, allocations: 1.92 MB / 1.211 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005804/1.303, allocations: 3.762 MB / 1.215 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/1.303, allocations: 4 kB / 1.215 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006976/1.31, allocations: 4.187 MB / 1.219 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.31, allocations: 4 kB / 1.219 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.31, allocations: 12.06 kB / 1.219 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/1.31, allocations: 20 kB / 1.219 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/1.313, allocations: 0.6943 MB / 1.219 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.401e-05/1.313, allocations: 27.92 kB / 1.219 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/1.315, allocations: 261.9 kB / 1.22 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/1.315, allocations: 116 kB / 1.22 GB, free: 11.62 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001464/1.317, allocations: 0.8015 MB / 1.221 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006252/1.317, allocations: 310.1 kB / 1.221 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007395/1.325, allocations: 4.433 MB / 1.225 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/1.325, allocations: 36 kB / 1.225 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/1.325, allocations: 0 / 1.225 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005618/1.331, allocations: 3.792 MB / 1.229 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/1.344, allocations: 8.657 MB / 1.237 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.344, allocations: 11.97 kB / 1.237 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/1.348, allocations: 0.7178 MB / 1.238 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.709e-05/1.348, allocations: 19.94 kB / 1.238 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/1.348, allocations: 83.98 kB / 1.238 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/1.348, allocations: 16 kB / 1.238 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.348, allocations: 4 kB / 1.238 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009835/1.358, allocations: 6.593 MB / 1.245 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.359, allocations: 0.8106 MB / 1.245 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/1.36, allocations: 75.98 kB / 1.246 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/1.362, allocations: 82.22 kB / 1.246 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004736/1.362, allocations: 242.5 kB / 1.246 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/1.363, allocations: 116 kB / 1.246 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001706/1.364, allocations: 1.155 MB / 1.247 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.364, allocations: 0 / 1.247 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002639/1.367, allocations: 1.229 MB / 1.248 GB, free: 14.14 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.01079/1.378, allocations: 7.503 MB / 1.256 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006302/1.384, allocations: 3.951 MB / 1.26 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.384, allocations: 0 / 1.26 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.003156/1.387, allocations: 2.15 MB / 1.262 GB, free: 456 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007217/1.395, allocations: 1.603 MB / 1.263 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04507/1.44, allocations: 25.81 MB / 1.288 GB, free: 4.707 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/1.442, allocations: 2.201 MB / 1.291 GB, free: 2.469 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004296/1.447, allocations: 1.208 MB / 1.292 GB, free: 1.254 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/1.449, allocations: 1.386 MB / 1.293 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of SimCode: time 9.72e-07/1.449, allocations: 0 / 1.293 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4654/1.915, allocations: 85.58 MB / 1.377 GB, free: 434.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/16.1, allocations: 6.016 kB / 1.377 GB, free: 434.8 MB / 0.9981 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)