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.0009411/0.0009411, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007175/0.007175, allocations: 172.9 kB / 16.26 MB, free: 6.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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 266.2 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.981/0.981, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004227, allocations: 14.47 kB / 0.5986 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6418/0.81, allocations: 288.9 MB / 0.9673 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02825/0.8383, allocations: 17.05 MB / 0.9839 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/0.8422, allocations: 67.62 kB / 0.984 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005005/0.8473, allocations: 1.656 MB / 0.9856 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01718/0.8645, allocations: 6.073 MB / 0.9915 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008252/0.8727, allocations: 2.678 MB / 0.9942 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01522/0.888, allocations: 11.2 MB / 1.005 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004669/0.8927, allocations: 2.126 MB / 1.007 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00563/0.8983, allocations: 2.346 MB / 1.009 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006048/0.9044, allocations: 2.722 MB / 1.012 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006467/0.9051, allocations: 156 kB / 1.012 GB, free: 440 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0146/0.9197, allocations: 7.157 MB / 1.019 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.9218, allocations: 1.157 MB / 1.02 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003164/0.925, allocations: 1.704 MB / 1.022 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01641/0.9414, allocations: 7.08 MB / 1.029 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.9415, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9415, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.525e-05/0.9416, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.7481 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.01021/0.9518, allocations: 3.555 MB / 1.032 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.9518, allocations: 12.03 kB / 1.032 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006423/0.9583, allocations: 0.921 MB / 1.033 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/0.9623, allocations: 1.834 MB / 1.035 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.9625, allocations: 193.1 kB / 1.035 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004772/0.963, allocations: 267.9 kB / 1.036 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006163/0.9691, allocations: 3.334 MB / 1.039 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7e-05/0.9692, allocations: 11.84 kB / 1.039 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/0.9695, allocations: 107.9 kB / 1.039 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.9697, allocations: 133 kB / 1.039 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006348/0.976, allocations: 3.498 MB / 1.042 GB, free: 1.172 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.36/1.336, allocations: 12.11 MB / 1.054 GB, free: 269.6 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004575/1.341, allocations: 3.502 MB / 1.058 GB, free: 267.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002647/1.343, allocations: 1.798 MB / 1.059 GB, free: 267.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/1.345, allocations: 1.496 MB / 1.061 GB, free: 265.6 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/1.345, allocations: 66 kB / 1.061 GB, free: 265.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=278): time 4.488e-06/1.345, allocations: 0 / 1.061 GB, free: 265.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=278): time 0.006437/1.351, allocations: 3.885 MB / 1.065 GB, free: 264 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.351, allocations: 84.12 kB / 1.065 GB, free: 263.9 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/1.353, allocations: 1.381 MB / 1.066 GB, free: 263.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002253/1.353, allocations: 74.52 kB / 1.066 GB, free: 263.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/1.354, allocations: 0.9832 MB / 1.067 GB, free: 262.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008149/1.355, allocations: 0.9415 MB / 1.068 GB, free: 261.9 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/1.355, allocations: 198.5 kB / 1.068 GB, free: 261.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.515e-05/1.355, allocations: 305.9 kB / 1.069 GB, free: 261.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/1.357, allocations: 1.098 MB / 1.07 GB, free: 261.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/1.359, allocations: 1.36 MB / 1.071 GB, free: 260.4 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004437/1.363, allocations: 2.644 MB / 1.074 GB, free: 259.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.364, allocations: 8.594 kB / 1.074 GB, free: 259.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005414/1.369, allocations: 2.974 MB / 1.077 GB, free: 258 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.369, allocations: 10.62 kB / 1.077 GB, free: 258 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.369, allocations: 4.25 kB / 1.077 GB, free: 258 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-05/1.369, allocations: 14.78 kB / 1.077 GB, free: 258 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/1.371, allocations: 0.5131 MB / 1.077 GB, free: 257.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-05/1.371, allocations: 24.11 kB / 1.077 GB, free: 257.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/1.374, allocations: 382.1 kB / 1.077 GB, free: 257.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/1.374, allocations: 83.52 kB / 1.078 GB, free: 257.7 MB / 0.7481 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.001268/1.376, allocations: 0.6439 MB / 1.078 GB, free: 257.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/1.376, allocations: 229.5 kB / 1.078 GB, free: 257.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004968/1.381, allocations: 3.114 MB / 1.081 GB, free: 255.9 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.381, allocations: 26.38 kB / 1.081 GB, free: 255.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.381, allocations: 0 / 1.081 GB, free: 255.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003457/1.385, allocations: 2.664 MB / 1.084 GB, free: 254.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009481/1.394, allocations: 6.216 MB / 1.09 GB, free: 251 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.394, allocations: 0 / 1.09 GB, free: 251 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002316/1.397, allocations: 0.5422 MB / 1.091 GB, free: 250.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.638e-05/1.397, allocations: 11.78 kB / 1.091 GB, free: 250.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.397, allocations: 59.8 kB / 1.091 GB, free: 250.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/1.397, allocations: 7.938 kB / 1.091 GB, free: 250.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.397, allocations: 3.984 kB / 1.091 GB, free: 250.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/1.402, allocations: 4.573 MB / 1.095 GB, free: 248.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.404, allocations: 0.6138 MB / 1.096 GB, free: 248 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/1.404, allocations: 50.12 kB / 1.096 GB, free: 247.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.406, allocations: 232.3 kB / 1.096 GB, free: 247.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/1.406, allocations: 162.7 kB / 1.096 GB, free: 247.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.406, allocations: 81.69 kB / 1.096 GB, free: 247.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001158/1.408, allocations: 0.9479 MB / 1.097 GB, free: 247.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.408, allocations: 0 / 1.097 GB, free: 247.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001957/1.41, allocations: 0.9826 MB / 1.098 GB, free: 246.4 MB / 0.7481 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.0005519/1.41, allocations: 374.9 kB / 1.099 GB, free: 246.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00357/1.414, allocations: 2.761 MB / 1.101 GB, free: 243.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.414, allocations: 0 / 1.101 GB, free: 243.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/1.415, allocations: 1.507 MB / 1.103 GB, free: 241.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005562/1.421, allocations: 1.285 MB / 1.104 GB, free: 240.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/1.429, allocations: 7.513 MB / 1.111 GB, free: 233.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.43, allocations: 1.907 MB / 1.113 GB, free: 231.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002932/1.433, allocations: 0.8475 MB / 1.114 GB, free: 230.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/1.434, allocations: 211.3 kB / 1.114 GB, free: 230.1 MB / 0.7481 GB Notification: Performance of SimCode: time 1.322e-06/1.434, allocations: 0 / 1.114 GB, free: 230.1 MB / 0.7481 GB Notification: Performance of Templates: time 0.06164/1.495, allocations: 47.14 MB / 1.16 GB, free: 183.6 MB / 0.7481 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)