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.001616/0.001616, allocations: 110.3 kB / 16.42 MB, free: 6.469 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.001831/0.001831, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002229/0.002229, allocations: 280.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9253/0.9253, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 99.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4041, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7434/1.148, allocations: 314.1 MB / 1.074 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0305/1.178, allocations: 18.45 MB / 1.092 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006299/1.184, allocations: 89.94 kB / 1.092 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006925/1.191, allocations: 2.146 MB / 1.094 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02069/1.212, allocations: 7.317 MB / 1.101 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009986/1.222, allocations: 3.231 MB / 1.104 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01381/1.236, allocations: 9.099 MB / 1.113 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006267/1.242, allocations: 3.117 MB / 1.116 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007784/1.25, allocations: 3.345 MB / 1.12 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00756/1.258, allocations: 3.235 MB / 1.123 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001767/1.26, allocations: 404 kB / 1.123 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01622/1.276, allocations: 6.995 MB / 1.13 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003466/1.279, allocations: 1.687 MB / 1.132 GB, free: 3.566 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.006662/1.286, allocations: 2.31 MB / 1.134 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02175/1.308, allocations: 8.193 MB / 1.142 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.308, allocations: 0 / 1.142 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.714e-06/1.308, allocations: 0 / 1.142 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000255/1.308, allocations: 0 / 1.142 GB, free: 9.031 MB / 0.7794 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.01759/1.326, allocations: 4.993 MB / 1.147 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/1.326, allocations: 8.031 kB / 1.147 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008082/1.334, allocations: 1.01 MB / 1.148 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00638/1.34, allocations: 2.255 MB / 1.15 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/1.341, allocations: 242.4 kB / 1.15 GB, free: 408 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/1.342, allocations: 327.9 kB / 1.15 GB, free: 80 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/1.353, allocations: 4.232 MB / 1.155 GB, free: 11.76 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/1.353, allocations: 4 kB / 1.155 GB, free: 11.76 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007027/1.353, allocations: 140 kB / 1.155 GB, free: 11.62 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002437/1.354, allocations: 182.3 kB / 1.155 GB, free: 11.44 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009395/1.363, allocations: 4.772 MB / 1.16 GB, free: 6.66 MB / 0.795 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.02286/1.386, allocations: 14.44 MB / 1.174 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0066/1.393, allocations: 4.554 MB / 1.178 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003779/1.396, allocations: 2.455 MB / 1.18 GB, free: 252 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/1.398, allocations: 1.608 MB / 1.182 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.107e-05/1.398, allocations: 81.64 kB / 1.182 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=392): time 5.601e-06/1.398, allocations: 0 / 1.182 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=392): time 0.009814/1.408, allocations: 5.535 MB / 1.188 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/1.408, allocations: 94.42 kB / 1.188 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/1.411, allocations: 1.685 MB / 1.189 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002975/1.411, allocations: 97.7 kB / 1.189 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008326/1.412, allocations: 1.132 MB / 1.19 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.414, allocations: 1.316 MB / 1.192 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009399/1.415, allocations: 0.5508 MB / 1.192 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.415, allocations: 301.1 kB / 1.193 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/1.417, allocations: 1.564 MB / 1.194 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002876/1.42, allocations: 1.916 MB / 1.196 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005808/1.426, allocations: 3.773 MB / 1.2 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.426, allocations: 0 / 1.2 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007226/1.433, allocations: 4.181 MB / 1.204 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/1.433, allocations: 8 kB / 1.204 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.433, allocations: 4.656 kB / 1.204 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.879e-05/1.433, allocations: 20 kB / 1.204 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/1.436, allocations: 0.6944 MB / 1.204 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.602e-05/1.436, allocations: 27.92 kB / 1.204 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/1.439, allocations: 261 kB / 1.205 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/1.44, allocations: 116 kB / 1.205 GB, free: 6.645 MB / 0.8419 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.001555/1.441, allocations: 0.8078 MB / 1.206 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008216/1.442, allocations: 288.5 kB / 1.206 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/1.449, allocations: 4.425 MB / 1.21 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005516/1.455, allocations: 3.796 MB / 1.214 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.455, allocations: 0 / 1.214 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.457, allocations: 0.7933 MB / 1.215 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006427/1.457, allocations: 71.98 kB / 1.215 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.46, allocations: 86.97 kB / 1.215 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004105/1.46, allocations: 222.8 kB / 1.215 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008241/1.468, allocations: 4.417 MB / 1.219 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01014/1.479, allocations: 6.785 MB / 1.226 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002764/1.481, allocations: 2.084 MB / 1.228 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002083/1.483, allocations: 1.157 MB / 1.229 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of Backend: time 4.31e-07/1.483, allocations: 0 / 1.229 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.009568/1.493, allocations: 3.833 MB / 1.233 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of SimCode: time 0.01381/1.507, allocations: 7.38 MB / 1.24 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.1257/1.633, allocations: 81.09 MB / 1.319 GB, free: 1.727 MB / 0.9512 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)