Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009074/0.0009075, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.000855/0.000855, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 8 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 82.32 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7323/0.9214, allocations: 239.4 MB / 0.8209 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02713/0.9486, allocations: 17.11 MB / 0.8376 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004703/0.9534, allocations: 63.62 kB / 0.8377 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006442/0.9599, allocations: 1.653 MB / 0.8393 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01803/0.9779, allocations: 4.927 MB / 0.8441 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007814/0.9857, allocations: 2.191 MB / 0.8463 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.9963, allocations: 4.396 MB / 0.8506 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004767/1.001, allocations: 1.946 MB / 0.8525 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007127/1.008, allocations: 2.274 MB / 0.8547 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004428/1.013, allocations: 1.717 MB / 0.8564 GB, free: 8.75 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001299/1.014, allocations: 156 kB / 0.8565 GB, free: 8.598 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/1.024, allocations: 2.434 MB / 0.8589 GB, free: 6.16 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002514/1.027, allocations: 1.044 MB / 0.8599 GB, free: 5.113 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002442/1.029, allocations: 0.672 MB / 0.8606 GB, free: 4.434 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008604/1.038, allocations: 4.076 MB / 0.8645 GB, free: 356 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/1.038, allocations: 0 / 0.8645 GB, free: 356 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.986e-06/1.038, allocations: 0 / 0.8645 GB, free: 356 kB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002285/1.038, allocations: 0 / 0.8645 GB, free: 356 kB / 0.67 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.4526/1.491, allocations: 3.454 MB / 0.8679 GB, free: 135.9 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/1.491, allocations: 9.188 kB / 0.8679 GB, free: 135.9 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006625/1.497, allocations: 0.9307 MB / 0.8688 GB, free: 135.7 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/1.502, allocations: 1.769 MB / 0.8706 GB, free: 135.2 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/1.503, allocations: 200.5 kB / 0.8708 GB, free: 135.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005583/1.503, allocations: 265.8 kB / 0.871 GB, free: 135.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006318/1.51, allocations: 3.287 MB / 0.8742 GB, free: 134.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.363e-05/1.51, allocations: 14.66 kB / 0.8742 GB, free: 134.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/1.51, allocations: 104.2 kB / 0.8743 GB, free: 134.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/1.51, allocations: 137.3 kB / 0.8745 GB, free: 134.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005411/1.515, allocations: 3.47 MB / 0.8778 GB, free: 134.9 MB / 0.67 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.0158/1.531, allocations: 12.07 MB / 0.8896 GB, free: 128.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00513/1.536, allocations: 3.473 MB / 0.893 GB, free: 128.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/1.538, allocations: 1.497 MB / 0.8945 GB, free: 126.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/1.538, allocations: 65.06 kB / 0.8946 GB, free: 126.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=278): time 4.528e-06/1.538, allocations: 0 / 0.8946 GB, free: 126.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=278): time 0.007588/1.545, allocations: 3.847 MB / 0.8983 GB, free: 126.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/1.545, allocations: 84.22 kB / 0.8984 GB, free: 126.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.548, allocations: 1.369 MB / 0.8997 GB, free: 126.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.00022/1.548, allocations: 75.09 kB / 0.8998 GB, free: 126.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007651/1.549, allocations: 0.9841 MB / 0.9008 GB, free: 125.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009112/1.55, allocations: 0.9399 MB / 0.9017 GB, free: 125.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/1.55, allocations: 50.88 kB / 0.9017 GB, free: 125.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.55, allocations: 400.9 kB / 0.9021 GB, free: 124.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/1.552, allocations: 1.077 MB / 0.9032 GB, free: 124.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/1.554, allocations: 1.362 MB / 0.9045 GB, free: 124.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/1.556, allocations: 1.275 MB / 0.9057 GB, free: 124.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.556, allocations: 1.75 kB / 0.9057 GB, free: 124.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005054/1.561, allocations: 2.939 MB / 0.9086 GB, free: 124.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.561, allocations: 8.078 kB / 0.9086 GB, free: 124.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.561, allocations: 4.719 kB / 0.9086 GB, free: 124.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/1.561, allocations: 19.7 kB / 0.9086 GB, free: 124.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/1.564, allocations: 0.509 MB / 0.9091 GB, free: 124.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.464e-05/1.564, allocations: 18.59 kB / 0.9092 GB, free: 124.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/1.567, allocations: 340.9 kB / 0.9095 GB, free: 124.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/1.567, allocations: 82.17 kB / 0.9096 GB, free: 124.3 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001377/1.568, allocations: 0.6446 MB / 0.9102 GB, free: 124.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004418/1.569, allocations: 232 kB / 0.9104 GB, free: 124.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005199/1.574, allocations: 3.079 MB / 0.9134 GB, free: 123.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-05/1.574, allocations: 31.2 kB / 0.9134 GB, free: 123.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.574, allocations: 0 / 0.9134 GB, free: 123.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003559/1.578, allocations: 2.629 MB / 0.916 GB, free: 123.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009203/1.587, allocations: 6.171 MB / 0.922 GB, free: 123.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.587, allocations: 0 / 0.922 GB, free: 123.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/1.589, allocations: 0.5501 MB / 0.9226 GB, free: 123.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/1.589, allocations: 8.781 kB / 0.9226 GB, free: 123.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/1.589, allocations: 58.72 kB / 0.9226 GB, free: 123.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.376e-05/1.589, allocations: 15.78 kB / 0.9227 GB, free: 123.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.589, allocations: 0.75 kB / 0.9227 GB, free: 123.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/1.595, allocations: 4.764 MB / 0.9273 GB, free: 122.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.596, allocations: 0.6072 MB / 0.9279 GB, free: 122 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/1.597, allocations: 49.5 kB / 0.9279 GB, free: 122 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/1.599, allocations: 232.2 kB / 0.9282 GB, free: 121.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/1.599, allocations: 160.1 kB / 0.9283 GB, free: 121.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.599, allocations: 85.09 kB / 0.9284 GB, free: 121.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001051/1.6, allocations: 0.9292 MB / 0.9293 GB, free: 120.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.6, allocations: 0 / 0.9293 GB, free: 120.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001949/1.602, allocations: 0.9795 MB / 0.9303 GB, free: 120 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005388/1.603, allocations: 381.4 kB / 0.9306 GB, free: 119.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003549/1.606, allocations: 2.741 MB / 0.9333 GB, free: 117.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.606, allocations: 0 / 0.9333 GB, free: 117.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/1.608, allocations: 1.5 MB / 0.9348 GB, free: 116.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004863/1.613, allocations: 1.254 MB / 0.936 GB, free: 115.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/1.621, allocations: 7.247 MB / 0.9431 GB, free: 109.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.622, allocations: 1.95 MB / 0.945 GB, free: 107.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003239/1.625, allocations: 0.8425 MB / 0.9458 GB, free: 106.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006287/1.626, allocations: 208.3 kB / 0.946 GB, free: 106.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.673e-06/1.626, allocations: 1.859 kB / 0.946 GB, free: 106.4 MB / 0.67 GB Notification: Performance of Templates: time 0.06259/1.689, allocations: 45.74 MB / 0.9907 GB, free: 61.34 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: