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: translateModel(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 116.8 kB / 17.09 MB, free: 5.984 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.001251/0.001251, allocations: 192.7 kB / 18.02 MB, free: 5.062 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.268/1.268, allocations: 222.9 MB / 241.7 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.6668/0.6668, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 74.59 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1359, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.597/0.733, allocations: 314.1 MB / 0.9395 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02465/0.7577, allocations: 18.46 MB / 0.9575 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003752/0.7615, allocations: 91.56 kB / 0.9576 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005259/0.7667, allocations: 2.148 MB / 0.9597 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0176/0.7844, allocations: 7.31 MB / 0.9668 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008033/0.7924, allocations: 3.229 MB / 0.97 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01059/0.803, allocations: 9.091 MB / 0.9789 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004598/0.8077, allocations: 3.114 MB / 0.9819 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006279/0.814, allocations: 3.352 MB / 0.9852 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006217/0.8202, allocations: 3.233 MB / 0.9883 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001295/0.8215, allocations: 404 kB / 0.9887 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01472/0.8362, allocations: 6.991 MB / 0.9956 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002778/0.8391, allocations: 1.695 MB / 0.9972 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.007394/0.8465, allocations: 2.299 MB / 0.9995 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02421/0.8707, allocations: 8.193 MB / 1.007 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.8708, allocations: 0 / 1.007 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8708, allocations: 4 kB / 1.007 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002627/0.8711, allocations: 0 / 1.007 GB, free: 12.35 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.02217/0.8932, allocations: 4.998 MB / 1.012 GB, free: 7.285 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.8933, allocations: 8.031 kB / 1.012 GB, free: 7.277 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.904, allocations: 1.006 MB / 1.013 GB, free: 6.266 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006214/0.9103, allocations: 2.244 MB / 1.016 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.9105, allocations: 250.4 kB / 1.016 GB, free: 3.723 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007944/0.9113, allocations: 327.9 kB / 1.016 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007339/0.9187, allocations: 4.239 MB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.666e-05/0.9187, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/0.9191, allocations: 132 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.9192, allocations: 178.3 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007916/0.9272, allocations: 4.783 MB / 1.025 GB, free: 9.977 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.02103/0.9482, allocations: 14.44 MB / 1.039 GB, free: 10.57 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006179/0.9544, allocations: 4.55 MB / 1.044 GB, free: 6.023 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003606/0.9581, allocations: 2.455 MB / 1.046 GB, free: 3.559 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/0.9597, allocations: 1.604 MB / 1.048 GB, free: 1.621 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.161e-05/0.9598, allocations: 81.62 kB / 1.048 GB, free: 1.531 MB / 0.795 GB Notification: Performance of pre-optimization done (n=392): time 5.701e-06/0.9598, allocations: 7.938 kB / 1.048 GB, free: 1.523 MB / 0.795 GB Notification: Performance of matching and sorting (n=392): time 0.3474/1.307, allocations: 5.525 MB / 1.053 GB, free: 320.6 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/1.307, allocations: 92.75 kB / 1.053 GB, free: 320.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/1.31, allocations: 1.682 MB / 1.055 GB, free: 319.9 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000244/1.311, allocations: 92.98 kB / 1.055 GB, free: 319.8 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.312, allocations: 1.142 MB / 1.056 GB, free: 319.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/1.313, allocations: 1.319 MB / 1.057 GB, free: 318.1 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008244/1.314, allocations: 0.551 MB / 1.058 GB, free: 317.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/1.314, allocations: 310.8 kB / 1.058 GB, free: 317.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/1.317, allocations: 1.559 MB / 1.06 GB, free: 317 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003314/1.32, allocations: 1.915 MB / 1.062 GB, free: 316.2 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005841/1.326, allocations: 3.77 MB / 1.065 GB, free: 314.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/1.326, allocations: 5.031 kB / 1.065 GB, free: 314.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006761/1.333, allocations: 4.179 MB / 1.069 GB, free: 312.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/1.333, allocations: 4.672 kB / 1.069 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.333, allocations: 6 kB / 1.069 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.063e-05/1.333, allocations: 19.44 kB / 1.069 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/1.335, allocations: 0.7014 MB / 1.07 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.733e-05/1.336, allocations: 19.59 kB / 1.07 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/1.338, allocations: 263.8 kB / 1.07 GB, free: 312.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/1.338, allocations: 115 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.001404/1.34, allocations: 0.7971 MB / 1.071 GB, free: 312.1 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006348/1.34, allocations: 291 kB / 1.072 GB, free: 311.9 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005871/1.346, allocations: 4.425 MB / 1.076 GB, free: 310.1 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/1.346, allocations: 35.5 kB / 1.076 GB, free: 310.1 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.346, allocations: 5.688 kB / 1.076 GB, free: 310.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004238/1.351, allocations: 3.795 MB / 1.08 GB, free: 308.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.361, allocations: 8.64 MB / 1.088 GB, free: 304.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.362, allocations: 7.938 kB / 1.088 GB, free: 304.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002849/1.364, allocations: 0.7255 MB / 1.089 GB, free: 303.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/1.364, allocations: 16 kB / 1.089 GB, free: 303.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/1.365, allocations: 83.98 kB / 1.089 GB, free: 303.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.509e-05/1.365, allocations: 19.98 kB / 1.089 GB, free: 303.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.365, allocations: 6.719 kB / 1.089 GB, free: 303.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007241/1.372, allocations: 6.567 MB / 1.095 GB, free: 296.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.373, allocations: 0.7972 MB / 1.096 GB, free: 295.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/1.374, allocations: 75.98 kB / 1.096 GB, free: 295.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/1.376, allocations: 86.12 kB / 1.096 GB, free: 295.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/1.376, allocations: 238 kB / 1.096 GB, free: 295.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.376, allocations: 115.9 kB / 1.097 GB, free: 295.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001234/1.377, allocations: 1.153 MB / 1.098 GB, free: 294.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.51e-07/1.377, allocations: 0 / 1.098 GB, free: 294.2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00207/1.379, allocations: 1.231 MB / 1.099 GB, free: 293 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.0007222/1.38, allocations: 456.8 kB / 1.099 GB, free: 292.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004885/1.385, allocations: 3.943 MB / 1.103 GB, free: 288.7 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.385, allocations: 4 kB / 1.103 GB, free: 288.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/1.387, allocations: 2.156 MB / 1.105 GB, free: 286.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005946/1.393, allocations: 1.603 MB / 1.107 GB, free: 285 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009473/1.403, allocations: 7.823 MB / 1.114 GB, free: 277.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.404, allocations: 2.205 MB / 1.117 GB, free: 275.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.406, allocations: 311.3 kB / 1.117 GB, free: 274.9 MB / 0.795 GB Notification: Performance of SimCode: time 9.01e-07/1.406, allocations: 0 / 1.117 GB, free: 274.9 MB / 0.795 GB Notification: Performance of Templates: time 0.06403/1.47, allocations: 55.26 MB / 1.171 GB, free: 219.9 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (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 & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)