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.001138/0.001138, 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.001437/0.001437, allocations: 192.5 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 279.1 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9186/0.9186, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 98.19 kB / 0.5953 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1252, allocations: 86.97 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5283/0.6535, allocations: 314.1 MB / 0.9871 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02505/0.6786, allocations: 18.45 MB / 1.005 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.6816, allocations: 91.56 kB / 1.005 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004801/0.6864, allocations: 2.144 MB / 1.007 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01542/0.7019, allocations: 7.319 MB / 1.014 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007167/0.7091, allocations: 3.198 MB / 1.018 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009483/0.7186, allocations: 9.104 MB / 1.026 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004169/0.7227, allocations: 3.113 MB / 1.029 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/0.7277, allocations: 3.294 MB / 1.033 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005173/0.7329, allocations: 3.24 MB / 1.036 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009665/0.7339, allocations: 404 kB / 1.036 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/0.747, allocations: 6.991 MB / 1.043 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002036/0.749, allocations: 1.687 MB / 1.045 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003762/0.7528, allocations: 2.307 MB / 1.047 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.766, allocations: 8.13 MB / 1.055 GB, free: 7.156 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.766, allocations: 4 kB / 1.055 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.372e-06/0.766, allocations: 3.938 kB / 1.055 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001544/0.7662, allocations: 0 / 1.055 GB, free: 7.148 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01296/0.7792, allocations: 4.994 MB / 1.06 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.7792, allocations: 11.97 kB / 1.06 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007287/0.78, allocations: 463.5 kB / 1.06 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006521/0.7865, allocations: 1.006 MB / 1.061 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2338/1.02, allocations: 2.155 MB / 1.063 GB, free: 293 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/1.021, allocations: 243.7 kB / 1.064 GB, free: 293 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/1.021, allocations: 331.7 kB / 1.064 GB, free: 293 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006373/1.027, allocations: 4.236 MB / 1.068 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.637e-05/1.027, allocations: 6.5 kB / 1.068 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/1.028, allocations: 133.6 kB / 1.068 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/1.028, allocations: 169.6 kB / 1.068 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00686/1.035, allocations: 4.785 MB / 1.073 GB, free: 289.8 MB / 0.7637 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.01531/1.05, allocations: 14.53 MB / 1.087 GB, free: 280.6 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005753/1.056, allocations: 4.551 MB / 1.092 GB, free: 278.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00308/1.059, allocations: 2.445 MB / 1.094 GB, free: 277.2 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/1.06, allocations: 1.606 MB / 1.096 GB, free: 275.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/1.06, allocations: 84.11 kB / 1.096 GB, free: 275.4 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 6.101e-06/1.06, allocations: 0 / 1.096 GB, free: 275.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.008141/1.069, allocations: 5.53 MB / 1.101 GB, free: 272.7 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.069, allocations: 101.8 kB / 1.101 GB, free: 272.7 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/1.07, allocations: 1.688 MB / 1.103 GB, free: 271.8 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/1.071, allocations: 93.58 kB / 1.103 GB, free: 271.7 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/1.071, allocations: 1.134 MB / 1.104 GB, free: 270.7 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006804/1.072, allocations: 1.317 MB / 1.105 GB, free: 269.5 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006997/1.072, allocations: 0.5515 MB / 1.106 GB, free: 269.2 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.338e-05/1.072, allocations: 309.1 kB / 1.106 GB, free: 268.9 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/1.074, allocations: 1.563 MB / 1.108 GB, free: 268.1 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/1.077, allocations: 1.917 MB / 1.11 GB, free: 267 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/1.081, allocations: 3.767 MB / 1.113 GB, free: 265 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.081, allocations: 0 / 1.113 GB, free: 265 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005548/1.087, allocations: 4.182 MB / 1.117 GB, free: 262.1 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.087, allocations: 10.94 kB / 1.117 GB, free: 262.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.087, allocations: 4 kB / 1.117 GB, free: 262.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/1.087, allocations: 20 kB / 1.117 GB, free: 262 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/1.09, allocations: 0.6866 MB / 1.118 GB, free: 261.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-05/1.09, allocations: 29.02 kB / 1.118 GB, free: 261.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/1.092, allocations: 264.7 kB / 1.118 GB, free: 261.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/1.092, allocations: 116 kB / 1.118 GB, free: 261 MB / 0.7637 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.001073/1.093, allocations: 0.7943 MB / 1.119 GB, free: 260.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004293/1.094, allocations: 292.5 kB / 1.119 GB, free: 259.9 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005945/1.1, allocations: 4.426 MB / 1.124 GB, free: 255.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.1, allocations: 43.7 kB / 1.124 GB, free: 255.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.1, allocations: 0 / 1.124 GB, free: 255.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004382/1.104, allocations: 3.796 MB / 1.127 GB, free: 251.5 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.115, allocations: 8.645 MB / 1.136 GB, free: 242.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.115, allocations: 4 kB / 1.136 GB, free: 242.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003118/1.118, allocations: 0.721 MB / 1.137 GB, free: 242.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.197e-05/1.118, allocations: 16 kB / 1.137 GB, free: 242.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/1.118, allocations: 83.98 kB / 1.137 GB, free: 242 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/1.118, allocations: 16.56 kB / 1.137 GB, free: 242 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.118, allocations: 3.938 kB / 1.137 GB, free: 242 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007638/1.126, allocations: 6.569 MB / 1.143 GB, free: 235.3 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.127, allocations: 0.7933 MB / 1.144 GB, free: 234.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/1.128, allocations: 85.27 kB / 1.144 GB, free: 234.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.13, allocations: 85.52 kB / 1.144 GB, free: 234.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003687/1.13, allocations: 234.6 kB / 1.144 GB, free: 234.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.13, allocations: 112 kB / 1.144 GB, free: 234 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001232/1.131, allocations: 1.153 MB / 1.146 GB, free: 232.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.131, allocations: 3.969 kB / 1.146 GB, free: 232.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00201/1.133, allocations: 1.232 MB / 1.147 GB, free: 231.6 MB / 0.7637 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.00832/1.142, allocations: 7.489 MB / 1.154 GB, free: 224.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01779/1.16, allocations: 9.848 MB / 1.164 GB, free: 214.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.16, allocations: 0 / 1.164 GB, free: 214.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/1.162, allocations: 2.15 MB / 1.166 GB, free: 212.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/1.168, allocations: 1.614 MB / 1.167 GB, free: 210.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/1.198, allocations: 28.83 MB / 1.196 GB, free: 180.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.199, allocations: 2.197 MB / 1.198 GB, free: 178.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003625/1.203, allocations: 1.208 MB / 1.199 GB, free: 176.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/1.205, allocations: 1.386 MB / 1.2 GB, free: 175.6 MB / 0.7637 GB Notification: Performance of SimCode: time 1.163e-06/1.205, allocations: 3.938 kB / 1.2 GB, free: 175.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/1.309, allocations: 84.84 MB / 1.283 GB, free: 91.63 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.33, allocations: 11.75 kB / 1.283 GB, free: 91.62 MB / 0.7637 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)