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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001066/0.001066, allocations: 197.5 kB / 16.26 MB, free: 6.621 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.109/1.109, allocations: 222.9 MB / 239.9 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.633/0.633, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 58.5 kB / 0.5013 GB, free: 8.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1081, allocations: 80.2 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6452/0.7533, allocations: 291.7 MB / 0.8645 GB, free: 1.438 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.7697, allocations: 16.92 MB / 0.881 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.7717, allocations: 70.53 kB / 0.8811 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.7745, allocations: 1.705 MB / 0.8828 GB, free: 1.352 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0097/0.7843, allocations: 6.047 MB / 0.8887 GB, free: 1.105 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004798/0.7891, allocations: 2.701 MB / 0.8913 GB, free: 1.035 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006331/0.7954, allocations: 7.693 MB / 0.8988 GB, free: 1.02 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/0.7985, allocations: 2.551 MB / 0.9013 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003857/0.8024, allocations: 2.82 MB / 0.9041 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003538/0.806, allocations: 2.865 MB / 0.9069 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004165/0.8064, allocations: 327.3 kB / 0.9072 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00932/0.8157, allocations: 6.435 MB / 0.9135 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.8168, allocations: 1.337 MB / 0.9148 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.8186, allocations: 1.886 MB / 0.9166 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007004/0.8256, allocations: 7.293 MB / 0.9237 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8256, allocations: 3.047 kB / 0.9237 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8256, allocations: 0 / 0.9237 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.8256, allocations: 4.719 kB / 0.9237 GB, free: 15.66 MB / 0.6856 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.007314/0.8329, allocations: 4.119 MB / 0.9278 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.833, allocations: 11.31 kB / 0.9278 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003509/0.8333, allocations: 374.4 kB / 0.9281 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005068/0.8384, allocations: 0.9193 MB / 0.929 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.8405, allocations: 1.839 MB / 0.9308 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/0.8406, allocations: 198.1 kB / 0.931 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.8409, allocations: 260.8 kB / 0.9313 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/0.8449, allocations: 3.33 MB / 0.9345 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/0.845, allocations: 6 kB / 0.9345 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.8452, allocations: 110.6 kB / 0.9346 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.746e-05/0.8453, allocations: 141 kB / 0.9348 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004214/0.8495, allocations: 3.49 MB / 0.9382 GB, free: 12.64 MB / 0.6856 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.01026/0.8598, allocations: 12.05 MB / 0.9499 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.8631, allocations: 3.498 MB / 0.9534 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.8651, allocations: 1.814 MB / 0.9551 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.8663, allocations: 1.484 MB / 0.9566 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.8664, allocations: 73.12 kB / 0.9566 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 3.787e-06/0.8664, allocations: 0 / 0.9566 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.004974/0.8714, allocations: 3.873 MB / 0.9604 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.8714, allocations: 81.58 kB / 0.9605 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.8728, allocations: 1.375 MB / 0.9618 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.8729, allocations: 81.7 kB / 0.9619 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005154/0.8735, allocations: 0.9874 MB / 0.9629 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005804/0.874, allocations: 0.9432 MB / 0.9638 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.8746, allocations: 409 kB / 0.9642 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.8747, allocations: 305.1 kB / 0.9645 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.8761, allocations: 1.089 MB / 0.9656 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.8777, allocations: 1.381 MB / 0.9669 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003249/0.881, allocations: 2.648 MB / 0.9695 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.881, allocations: 3.938 kB / 0.9695 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00381/0.8848, allocations: 2.97 MB / 0.9724 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.8848, allocations: 7.984 kB / 0.9724 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.8848, allocations: 4 kB / 0.9724 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.8849, allocations: 19.94 kB / 0.9724 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.8868, allocations: 0.511 MB / 0.9729 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.8868, allocations: 18.62 kB / 0.9729 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.8888, allocations: 337.2 kB / 0.9733 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.889, allocations: 83.98 kB / 0.9733 GB, free: 2.406 MB / 0.7012 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.0007898/0.8898, allocations: 0.6429 MB / 0.974 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.8901, allocations: 229.3 kB / 0.9742 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/0.8943, allocations: 3.109 MB / 0.9772 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.8943, allocations: 24 kB / 0.9772 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8943, allocations: 4 kB / 0.9773 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00321/0.8975, allocations: 2.645 MB / 0.9798 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007351/0.9049, allocations: 6.205 MB / 0.9859 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9049, allocations: 0 / 0.9859 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/0.9071, allocations: 0.5527 MB / 0.9864 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.9072, allocations: 8 kB / 0.9864 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.9073, allocations: 59.97 kB / 0.9865 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.9073, allocations: 14.62 kB / 0.9865 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.9073, allocations: 7.938 kB / 0.9865 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005601/0.9129, allocations: 4.801 MB / 0.9912 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007894/0.9137, allocations: 0.607 MB / 0.9918 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/0.914, allocations: 47.98 kB / 0.9918 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.9157, allocations: 219.6 kB / 0.9921 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/0.916, allocations: 165.9 kB / 0.9922 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.9162, allocations: 86.59 kB / 0.9923 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009702/0.9172, allocations: 0.9501 MB / 0.9932 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9172, allocations: 0 / 0.9932 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001525/0.9187, allocations: 0.9784 MB / 0.9942 GB, free: 12.86 MB / 0.7325 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 (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.006197/0.9249, allocations: 5.636 MB / 0.9997 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009608/0.9345, allocations: 5.538 MB / 1.005 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9345, allocations: 0 / 1.005 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.9362, allocations: 1.516 MB / 1.007 GB, free: 212 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/0.9407, allocations: 1.346 MB / 1.008 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/0.9658, allocations: 22.35 MB / 1.03 GB, free: 7.414 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.967, allocations: 1.897 MB / 1.032 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002376/0.9694, allocations: 0.828 MB / 1.032 GB, free: 4.652 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.9706, allocations: 1.095 MB / 1.033 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of SimCode: time 3.81e-07/0.9706, allocations: 0 / 1.033 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.533/10.5, allocations: 67.38 MB / 1.099 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.5517/11.06, allocations: 196 kB / 1.099 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.263/15.32, allocations: 0 / 1.099 GB, free: 0.875 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)