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.000857/0.0008568, allocations: 88.17 kB / 15.7 MB, free: 460 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.001657/0.001657, allocations: 177.2 kB / 16.58 MB, free: 6.852 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.394/1.394, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6865/0.6865, allocations: 113.7 MB / 405.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1678, allocations: 77.12 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.202/1.37, allocations: 287.1 MB / 0.8372 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02667/1.397, allocations: 17.34 MB / 0.8542 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005168/1.402, allocations: 70.94 kB / 0.8542 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005536/1.408, allocations: 1.402 MB / 0.8556 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01901/1.427, allocations: 5.328 MB / 0.8608 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008836/1.435, allocations: 2.246 MB / 0.863 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01547/1.451, allocations: 10.99 MB / 0.8737 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005766/1.457, allocations: 2.369 MB / 0.876 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008418/1.465, allocations: 2.862 MB / 0.8788 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00751/1.473, allocations: 3.159 MB / 0.8819 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001672/1.474, allocations: 200.2 kB / 0.8821 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/1.488, allocations: 3.478 MB / 0.8855 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003616/1.492, allocations: 1.47 MB / 0.8869 GB, free: 23.2 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003239/1.495, allocations: 0.8039 MB / 0.8877 GB, free: 23.17 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01051/1.505, allocations: 5.385 MB / 0.893 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.506, allocations: 0 / 0.893 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.108e-06/1.506, allocations: 0 / 0.893 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002872/1.506, allocations: 2.906 kB / 0.893 GB, free: 20.59 MB / 0.6387 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.01396/1.52, allocations: 4.367 MB / 0.8972 GB, free: 18.09 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/1.52, allocations: 13.7 kB / 0.8973 GB, free: 18.08 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002359/1.522, allocations: 455.8 kB / 0.8977 GB, free: 17.95 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007459/1.53, allocations: 1.004 MB / 0.8987 GB, free: 17.54 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005593/1.535, allocations: 2.1 MB / 0.9007 GB, free: 16.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/1.536, allocations: 247.3 kB / 0.901 GB, free: 16.67 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/1.537, allocations: 323.2 kB / 0.9013 GB, free: 16.66 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/1.548, allocations: 4.213 MB / 0.9054 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/1.548, allocations: 3.703 kB / 0.9054 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007799/1.549, allocations: 135.6 kB / 0.9055 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/1.549, allocations: 170.6 kB / 0.9057 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009903/1.559, allocations: 4.757 MB / 0.9103 GB, free: 14.62 MB / 0.6387 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.02635/1.585, allocations: 14.4 MB / 0.9244 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007441/1.593, allocations: 4.533 MB / 0.9288 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004251/1.597, allocations: 2.432 MB / 0.9312 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/1.599, allocations: 1.62 MB / 0.9328 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.424e-05/1.599, allocations: 83.7 kB / 0.9329 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=392): time 7.264e-06/1.599, allocations: 1.969 kB / 0.9329 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=392): time 0.01044/1.609, allocations: 5.511 MB / 0.9382 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/1.609, allocations: 94.47 kB / 0.9383 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/1.612, allocations: 1.662 MB / 0.9399 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004293/1.613, allocations: 93.95 kB / 0.94 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008955/1.614, allocations: 1.133 MB / 0.9411 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001542/1.615, allocations: 1.327 MB / 0.9424 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/1.616, allocations: 65 kB / 0.9425 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003006/1.616, allocations: 443.1 kB / 0.9429 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/1.619, allocations: 1.548 MB / 0.9444 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/1.622, allocations: 1.905 MB / 0.9463 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/1.625, allocations: 1.828 MB / 0.9481 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/1.625, allocations: 4 kB / 0.9481 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007174/1.632, allocations: 4.154 MB / 0.9521 GB, free: 172 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/1.632, allocations: 4 kB / 0.9521 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/1.632, allocations: 8 kB / 0.9522 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.377e-05/1.632, allocations: 20 kB / 0.9522 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/1.635, allocations: 0.6914 MB / 0.9528 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.427e-05/1.635, allocations: 28.77 kB / 0.9529 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/1.639, allocations: 474.4 kB / 0.9533 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/1.639, allocations: 118.7 kB / 0.9534 GB, free: 14.98 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00186/1.641, allocations: 0.8004 MB / 0.9542 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009919/1.642, allocations: 296.5 kB / 0.9545 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007833/1.65, allocations: 4.415 MB / 0.9588 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.65, allocations: 43.98 kB / 0.9589 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.65, allocations: 0 / 0.9589 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005508/1.656, allocations: 3.772 MB / 0.9625 GB, free: 8.727 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.672, allocations: 8.619 MB / 0.971 GB, free: 2.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.672, allocations: 4 kB / 0.971 GB, free: 2.816 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/1.675, allocations: 0.7236 MB / 0.9717 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.156e-05/1.675, allocations: 16 kB / 0.9717 GB, free: 2.141 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000354/1.676, allocations: 88.72 kB / 0.9718 GB, free: 2.105 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.377e-05/1.676, allocations: 20.95 kB / 0.9718 GB, free: 2.09 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.676, allocations: 4 kB / 0.9718 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.686, allocations: 6.537 MB / 0.9782 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002406/1.689, allocations: 0.7961 MB / 0.979 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008441/1.69, allocations: 69.38 kB / 0.979 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/1.693, allocations: 266 kB / 0.9793 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004326/1.693, allocations: 243.8 kB / 0.9795 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/1.693, allocations: 113.9 kB / 0.9796 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002192/1.696, allocations: 1.137 MB / 0.9807 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.31e-07/1.696, allocations: 0 / 0.9807 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003739/1.699, allocations: 1.225 MB / 0.9819 GB, free: 10.52 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/1.71, allocations: 7.474 MB / 0.9892 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006331/1.717, allocations: 3.902 MB / 0.993 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.717, allocations: 0 / 0.993 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003068/1.72, allocations: 2.14 MB / 0.9951 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008275/1.728, allocations: 1.543 MB / 0.9966 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04331/1.772, allocations: 23.16 MB / 1.019 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002717/1.774, allocations: 2.208 MB / 1.021 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006126/1.781, allocations: 1.208 MB / 1.023 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002899/1.783, allocations: 1.386 MB / 1.024 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of SimCode: time 1.472e-06/1.783, allocations: 1.969 kB / 1.024 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4367/2.22, allocations: 84.66 MB / 1.107 GB, free: 358.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/2.22, allocations: 225.8 kB / 1.107 GB, free: 358.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.137/6.357, allocations: 2.625 kB / 1.107 GB, free: 358.2 MB / 0.7794 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/linux/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) Environment - environmentSimulation: