Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.ReverseBuoyancy,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IBPSA_latest_IBPSA_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.001333/0.001342, allocations: 103.4 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.001323/0.001323, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6966/0.6966, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.28 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1444, allocations: 76.18 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6752/0.8197, allocations: 314.1 MB / 0.9384 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02723/0.847, allocations: 18.45 MB / 0.9564 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005385/0.8524, allocations: 91.56 kB / 0.9565 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007964/0.8605, allocations: 2.152 MB / 0.9586 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02104/0.8816, allocations: 7.307 MB / 0.9657 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008553/0.8901, allocations: 3.229 MB / 0.9688 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01144/0.9016, allocations: 9.094 MB / 0.9777 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004242/0.9059, allocations: 3.118 MB / 0.9808 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00625/0.9121, allocations: 3.349 MB / 0.984 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005794/0.9179, allocations: 3.237 MB / 0.9872 GB, free: 20 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007982/0.9188, allocations: 404 kB / 0.9876 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01401/0.9328, allocations: 6.995 MB / 0.9944 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002261/0.9351, allocations: 1.691 MB / 0.9961 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003435/0.9385, allocations: 2.306 MB / 0.9983 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.9544, allocations: 8.189 MB / 1.006 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.9545, allocations: 0 / 1.006 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9545, allocations: 0 / 1.006 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.273e-05/0.9546, allocations: 0 / 1.006 GB, free: 12.39 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.01197/0.9665, allocations: 4.997 MB / 1.011 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.9666, allocations: 8.031 kB / 1.011 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005285/0.9671, allocations: 463.5 kB / 1.012 GB, free: 6.852 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006008/0.9732, allocations: 1.01 MB / 1.013 GB, free: 5.836 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004552/0.9777, allocations: 2.248 MB / 1.015 GB, free: 3.535 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.9779, allocations: 246.4 kB / 1.015 GB, free: 3.293 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000503/0.9784, allocations: 327.9 kB / 1.015 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006657/0.9851, allocations: 4.235 MB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.869e-05/0.9852, allocations: 4 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/0.9855, allocations: 136 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/0.9856, allocations: 174.3 kB / 1.02 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00728/0.9929, allocations: 4.783 MB / 1.024 GB, free: 9.551 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.02/1.013, allocations: 14.43 MB / 1.039 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006177/1.019, allocations: 4.543 MB / 1.043 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/1.023, allocations: 2.459 MB / 1.045 GB, free: 3.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/1.024, allocations: 1.612 MB / 1.047 GB, free: 1.195 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/1.024, allocations: 77.64 kB / 1.047 GB, free: 1.109 MB / 0.795 GB Notification: Performance of pre-optimization done (n=392): time 5.441e-06/1.024, allocations: 3.938 kB / 1.047 GB, free: 1.105 MB / 0.795 GB Notification: Performance of matching and sorting (n=392): time 0.3563/1.381, allocations: 5.531 MB / 1.052 GB, free: 320.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/1.381, allocations: 93.12 kB / 1.053 GB, free: 320.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/1.384, allocations: 1.684 MB / 1.054 GB, free: 319.8 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002599/1.384, allocations: 93.72 kB / 1.054 GB, free: 319.8 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008037/1.385, allocations: 1.137 MB / 1.055 GB, free: 319.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.386, allocations: 1.322 MB / 1.057 GB, free: 318 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008466/1.387, allocations: 0.5484 MB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.319e-05/1.387, allocations: 310.6 kB / 1.058 GB, free: 317.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/1.39, allocations: 1.558 MB / 1.059 GB, free: 316.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/1.393, allocations: 1.923 MB / 1.061 GB, free: 316.1 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006655/1.4, allocations: 3.767 MB / 1.065 GB, free: 314.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.4, allocations: 1.094 kB / 1.065 GB, free: 314.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007061/1.407, allocations: 4.18 MB / 1.069 GB, free: 312.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.407, allocations: 15.72 kB / 1.069 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.407, allocations: 3.969 kB / 1.069 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/1.407, allocations: 19.81 kB / 1.069 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/1.41, allocations: 0.6863 MB / 1.069 GB, free: 312.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-05/1.41, allocations: 27.53 kB / 1.069 GB, free: 312.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/1.412, allocations: 267.7 kB / 1.07 GB, free: 312.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/1.413, allocations: 114.9 kB / 1.07 GB, free: 312.5 MB / 0.795 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.001466/1.414, allocations: 0.7992 MB / 1.071 GB, free: 312 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/1.415, allocations: 291.2 kB / 1.071 GB, free: 311.9 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006018/1.421, allocations: 4.431 MB / 1.075 GB, free: 310.1 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/1.421, allocations: 38.42 kB / 1.075 GB, free: 310.1 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.421, allocations: 3.938 kB / 1.075 GB, free: 310.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004413/1.425, allocations: 3.793 MB / 1.079 GB, free: 308.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/1.436, allocations: 8.631 MB / 1.087 GB, free: 303.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.436, allocations: 7.922 kB / 1.087 GB, free: 303.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/1.439, allocations: 0.7256 MB / 1.088 GB, free: 302.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-05/1.439, allocations: 19.28 kB / 1.088 GB, free: 302.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/1.439, allocations: 83.97 kB / 1.088 GB, free: 302.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-05/1.439, allocations: 16 kB / 1.088 GB, free: 302.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.439, allocations: 11.91 kB / 1.088 GB, free: 302.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007466/1.447, allocations: 6.568 MB / 1.095 GB, free: 296 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.449, allocations: 0.7933 MB / 1.095 GB, free: 295.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/1.449, allocations: 72 kB / 1.095 GB, free: 295.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.451, allocations: 83.94 kB / 1.096 GB, free: 295 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/1.451, allocations: 230.7 kB / 1.096 GB, free: 294.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/1.452, allocations: 121 kB / 1.096 GB, free: 294.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001214/1.453, allocations: 1.153 MB / 1.097 GB, free: 293.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/1.453, allocations: 0 / 1.097 GB, free: 293.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002107/1.455, allocations: 1.229 MB / 1.098 GB, free: 292.3 MB / 0.795 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.007928/1.463, allocations: 7.487 MB / 1.105 GB, free: 284.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004825/1.468, allocations: 3.943 MB / 1.109 GB, free: 280.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.468, allocations: 4 kB / 1.109 GB, free: 280.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/1.47, allocations: 2.151 MB / 1.111 GB, free: 278.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/1.476, allocations: 1.607 MB / 1.113 GB, free: 277.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/1.506, allocations: 25.69 MB / 1.138 GB, free: 251.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/1.507, allocations: 2.201 MB / 1.14 GB, free: 249.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00323/1.51, allocations: 1.206 MB / 1.141 GB, free: 248.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.512, allocations: 1.386 MB / 1.143 GB, free: 246.7 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/1.512, allocations: 0 / 1.143 GB, free: 246.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/1.624, allocations: 86.98 MB / 1.228 GB, free: 160.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.61, allocations: 14.38 kB / 1.228 GB, free: 160.4 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)