Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.001131, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001055/0.001055, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002269/0.002269, allocations: 286.4 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9604/0.9604, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 91.64 kB / 0.5947 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1535, allocations: 86.99 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6063/0.7598, allocations: 291.7 MB / 0.9645 GB, free: 3.887 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0248/0.7846, allocations: 16.94 MB / 0.981 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004649/0.7893, allocations: 75.5 kB / 0.9811 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005509/0.795, allocations: 1.695 MB / 0.9827 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02362/0.8186, allocations: 6.061 MB / 0.9887 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009153/0.8278, allocations: 2.711 MB / 0.9913 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01162/0.8394, allocations: 7.697 MB / 0.9988 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004718/0.8442, allocations: 2.546 MB / 1.001 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006588/0.8508, allocations: 2.807 MB / 1.004 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006753/0.8576, allocations: 2.882 MB / 1.007 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001469/0.859, allocations: 328 kB / 1.007 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01596/0.875, allocations: 6.429 MB / 1.013 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002837/0.8779, allocations: 1.344 MB / 1.015 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004769/0.8827, allocations: 1.879 MB / 1.017 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01502/0.8977, allocations: 7.284 MB / 1.024 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.8978, allocations: 0 / 1.024 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8978, allocations: 3.938 kB / 1.024 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001808/0.898, allocations: 0 / 1.024 GB, free: 7.02 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01291/0.9109, allocations: 4.124 MB / 1.028 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.911, allocations: 8.031 kB / 1.028 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007064/0.918, allocations: 0.9263 MB / 1.029 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004434/0.9225, allocations: 1.842 MB / 1.03 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.9227, allocations: 197.1 kB / 1.031 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008979/0.9236, allocations: 255.9 kB / 1.031 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007842/0.9315, allocations: 3.331 MB / 1.034 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.9316, allocations: 15.84 kB / 1.034 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004932/0.9321, allocations: 111.9 kB / 1.034 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.9323, allocations: 137 kB / 1.034 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007104/0.9394, allocations: 3.498 MB / 1.038 GB, free: 8.34 MB / 0.7481 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.02008/0.9595, allocations: 12.08 MB / 1.05 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005674/0.9652, allocations: 3.502 MB / 1.053 GB, free: 7.777 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/0.9683, allocations: 1.818 MB / 1.055 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/0.97, allocations: 1.497 MB / 1.056 GB, free: 4.145 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.772e-05/0.9701, allocations: 68.73 kB / 1.056 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 5.27e-06/0.9701, allocations: 0 / 1.056 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.007697/0.9778, allocations: 3.881 MB / 1.06 GB, free: 140 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.9779, allocations: 85.53 kB / 1.06 GB, free: 40 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3577/1.336, allocations: 1.372 MB / 1.062 GB, free: 293.7 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0005156/1.336, allocations: 78.52 kB / 1.062 GB, free: 293.7 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/1.337, allocations: 0.9855 MB / 1.063 GB, free: 293.6 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001163/1.338, allocations: 0.9405 MB / 1.063 GB, free: 293 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007782/1.339, allocations: 410.4 kB / 1.064 GB, free: 292.8 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 6e-05/1.339, allocations: 306.9 kB / 1.064 GB, free: 292.5 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/1.341, allocations: 1.094 MB / 1.065 GB, free: 292.1 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/1.343, allocations: 1.356 MB / 1.067 GB, free: 291.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003941/1.347, allocations: 2.649 MB / 1.069 GB, free: 290.2 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/1.347, allocations: 1.219 kB / 1.069 GB, free: 290.2 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004516/1.351, allocations: 2.984 MB / 1.072 GB, free: 289 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.351, allocations: 7.719 kB / 1.072 GB, free: 289 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.351, allocations: 3.469 kB / 1.072 GB, free: 289 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/1.351, allocations: 15.72 kB / 1.072 GB, free: 289 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/1.353, allocations: 0.5081 MB / 1.073 GB, free: 288.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.179e-05/1.353, allocations: 25.88 kB / 1.073 GB, free: 288.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/1.356, allocations: 377.8 kB / 1.073 GB, free: 288.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/1.356, allocations: 81.48 kB / 1.073 GB, free: 288.8 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001201/1.358, allocations: 0.6468 MB / 1.074 GB, free: 288.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005371/1.358, allocations: 232.9 kB / 1.074 GB, free: 288.3 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005015/1.363, allocations: 3.109 MB / 1.077 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/1.363, allocations: 29.81 kB / 1.077 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.363, allocations: 3.438 kB / 1.077 GB, free: 287 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003682/1.367, allocations: 2.659 MB / 1.08 GB, free: 285.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/1.379, allocations: 6.218 MB / 1.086 GB, free: 283.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/1.379, allocations: 4.906 kB / 1.086 GB, free: 283.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.381, allocations: 0.5373 MB / 1.086 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/1.381, allocations: 12.28 kB / 1.086 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/1.381, allocations: 61.91 kB / 1.086 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/1.381, allocations: 8.594 kB / 1.086 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.381, allocations: 5.188 kB / 1.086 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007703/1.389, allocations: 4.569 MB / 1.091 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/1.391, allocations: 0.6106 MB / 1.091 GB, free: 280.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005524/1.392, allocations: 50.84 kB / 1.091 GB, free: 280.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.394, allocations: 228.5 kB / 1.092 GB, free: 280.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003485/1.395, allocations: 165.5 kB / 1.092 GB, free: 280.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/1.395, allocations: 82.12 kB / 1.092 GB, free: 280.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001322/1.396, allocations: 0.9391 MB / 1.093 GB, free: 280.4 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.396, allocations: 0 / 1.093 GB, free: 280.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002224/1.398, allocations: 0.9889 MB / 1.094 GB, free: 280.2 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.0006/1.399, allocations: 372.5 kB / 1.094 GB, free: 280 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.41, allocations: 5.531 MB / 1.099 GB, free: 279 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.41, allocations: 0 / 1.099 GB, free: 279 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/1.412, allocations: 1.516 MB / 1.101 GB, free: 278.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005932/1.418, allocations: 1.347 MB / 1.102 GB, free: 278 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009252/1.427, allocations: 7.235 MB / 1.109 GB, free: 271.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/1.429, allocations: 1.899 MB / 1.111 GB, free: 269.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003418/1.432, allocations: 0.8395 MB / 1.112 GB, free: 268.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009372/1.433, allocations: 215.3 kB / 1.112 GB, free: 268.1 MB / 0.7637 GB Notification: Performance of SimCode: time 1.262e-06/1.433, allocations: 0 / 1.112 GB, free: 268.1 MB / 0.7637 GB Notification: Performance of Templates: time 0.06686/1.5, allocations: 49.38 MB / 1.16 GB, free: 219.5 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)