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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00114/0.00114, allocations: 111.5 kB / 16.37 MB, free: 6.012 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.001185/0.001185, allocations: 191.8 kB / 17.3 MB, free: 5.613 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 286.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9212/0.9212, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 88.95 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1517, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8739/1.026, allocations: 314.1 MB / 0.9884 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02219/1.048, allocations: 18.46 MB / 1.006 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/1.051, allocations: 89.34 kB / 1.006 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005343/1.057, allocations: 2.149 MB / 1.009 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01714/1.074, allocations: 7.315 MB / 1.016 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007869/1.082, allocations: 3.234 MB / 1.019 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0105/1.092, allocations: 9.098 MB / 1.028 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004842/1.097, allocations: 3.11 MB / 1.031 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006575/1.104, allocations: 3.312 MB / 1.034 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006136/1.11, allocations: 3.226 MB / 1.037 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001223/1.111, allocations: 400.8 kB / 1.038 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/1.125, allocations: 7.004 MB / 1.044 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002364/1.127, allocations: 1.689 MB / 1.046 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004492/1.132, allocations: 2.301 MB / 1.048 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01419/1.146, allocations: 8.185 MB / 1.056 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/1.146, allocations: 0 / 1.056 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/1.146, allocations: 0 / 1.056 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001733/1.146, allocations: 9.281 kB / 1.056 GB, free: 13.15 MB / 0.7325 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.01291/1.159, allocations: 4.994 MB / 1.061 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/1.159, allocations: 8.156 kB / 1.061 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006467/1.165, allocations: 1.011 MB / 1.062 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004077/1.17, allocations: 2.242 MB / 1.064 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/1.17, allocations: 246.6 kB / 1.065 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/1.17, allocations: 328.4 kB / 1.065 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/1.177, allocations: 4.238 MB / 1.069 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.309e-05/1.177, allocations: 6.719 kB / 1.069 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002941/1.177, allocations: 137 kB / 1.069 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/1.177, allocations: 166.6 kB / 1.069 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007994/1.185, allocations: 4.787 MB / 1.074 GB, free: 4.348 MB / 0.7325 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.02036/1.206, allocations: 14.45 MB / 1.088 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/1.212, allocations: 4.557 MB / 1.093 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003562/1.215, allocations: 2.443 MB / 1.095 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/1.217, allocations: 1.61 MB / 1.097 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.441e-05/1.217, allocations: 79.61 kB / 1.097 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 5.39e-06/1.217, allocations: 0 / 1.097 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.009689/1.227, allocations: 5.542 MB / 1.102 GB, free: 6.707 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/1.227, allocations: 90.48 kB / 1.102 GB, free: 6.605 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/1.23, allocations: 1.682 MB / 1.104 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002569/1.23, allocations: 101.7 kB / 1.104 GB, free: 4.777 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008858/1.231, allocations: 1.135 MB / 1.105 GB, free: 3.633 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.232, allocations: 1.313 MB / 1.106 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009273/1.233, allocations: 0.5507 MB / 1.107 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.233, allocations: 305.1 kB / 1.107 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002622/1.236, allocations: 1.563 MB / 1.109 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/1.239, allocations: 1.92 MB / 1.11 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005757/1.244, allocations: 3.767 MB / 1.114 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.244, allocations: 4 kB / 1.114 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006966/1.251, allocations: 4.182 MB / 1.118 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.251, allocations: 4 kB / 1.118 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/1.252, allocations: 8 kB / 1.118 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/1.252, allocations: 16.66 kB / 1.118 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/1.255, allocations: 0.6962 MB / 1.119 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.457e-05/1.255, allocations: 22.44 kB / 1.119 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/1.257, allocations: 261.1 kB / 1.119 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/1.258, allocations: 116 kB / 1.119 GB, free: 4.832 MB / 0.7794 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.001533/1.259, allocations: 0.7981 MB / 1.12 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000752/1.26, allocations: 300.5 kB / 1.12 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007308/1.267, allocations: 4.435 MB / 1.125 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/1.267, allocations: 36 kB / 1.125 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.267, allocations: 0 / 1.125 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005619/1.273, allocations: 3.793 MB / 1.128 GB, free: 11.4 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.287, allocations: 8.642 MB / 1.137 GB, free: 2.719 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.287, allocations: 0 / 1.137 GB, free: 2.719 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003771/1.291, allocations: 0.7224 MB / 1.138 GB, free: 2.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.301e-05/1.291, allocations: 16 kB / 1.138 GB, free: 2.016 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004747/1.292, allocations: 87.91 kB / 1.138 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-05/1.292, allocations: 18.44 kB / 1.138 GB, free: 1.914 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.292, allocations: 4 kB / 1.138 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.302, allocations: 6.577 MB / 1.144 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/1.304, allocations: 0.7972 MB / 1.145 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006053/1.305, allocations: 71.94 kB / 1.145 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/1.307, allocations: 82.2 kB / 1.145 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004352/1.307, allocations: 237.2 kB / 1.145 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002594/1.308, allocations: 120 kB / 1.145 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001769/1.309, allocations: 1.149 MB / 1.147 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.309, allocations: 0 / 1.147 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00284/1.312, allocations: 1.228 MB / 1.148 GB, free: 7.523 MB / 0.8106 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.0009541/1.313, allocations: 470.1 kB / 1.148 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006152/1.319, allocations: 3.947 MB / 1.152 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.319, allocations: 5.312 kB / 1.152 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002994/1.322, allocations: 2.145 MB / 1.154 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006207/1.329, allocations: 1.617 MB / 1.156 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.34, allocations: 7.657 MB / 1.163 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/1.343, allocations: 2.201 MB / 1.165 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003841/1.347, allocations: 1.22 MB / 1.167 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/1.348, allocations: 267.4 kB / 1.167 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of SimCode: time 6.92e-07/1.348, allocations: 0 / 1.167 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of Templates: time 0.09534/1.443, allocations: 61.89 MB / 1.227 GB, free: 7.195 MB / 0.8887 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)