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.0009967/0.0009967, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.187/1.187, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6935/0.6935, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 61 kB / 0.5019 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3174, allocations: 80.2 MB / 0.5802 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.529/0.8464, allocations: 295.1 MB / 0.8684 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.864, allocations: 16.99 MB / 0.885 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.8664, allocations: 82.03 kB / 0.885 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003271/0.8697, allocations: 1.894 MB / 0.8869 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.8812, allocations: 6.427 MB / 0.8932 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005535/0.8868, allocations: 2.927 MB / 0.896 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007096/0.8939, allocations: 7.703 MB / 0.9035 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.8965, allocations: 2.596 MB / 0.9061 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003518/0.9, allocations: 2.767 MB / 0.9088 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/0.9031, allocations: 2.702 MB / 0.9114 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004249/0.9035, allocations: 325.1 kB / 0.9117 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.9144, allocations: 6.175 MB / 0.9178 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.9159, allocations: 1.329 MB / 0.9191 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.9183, allocations: 1.886 MB / 0.9209 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.9284, allocations: 6.841 MB / 0.9276 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9284, allocations: 0 / 0.9276 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9284, allocations: 0 / 0.9276 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.989e-05/0.9284, allocations: 4 kB / 0.9276 GB, free: 9.852 MB / 0.6544 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.008256/0.9367, allocations: 4.126 MB / 0.9316 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.9367, allocations: 12.03 kB / 0.9316 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003797/0.9371, allocations: 370.6 kB / 0.932 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005437/0.9426, allocations: 0.9196 MB / 0.9329 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/0.945, allocations: 1.839 MB / 0.9347 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.9452, allocations: 199.6 kB / 0.9349 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/0.9455, allocations: 263 kB / 0.9351 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004491/0.95, allocations: 3.326 MB / 0.9384 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/0.9501, allocations: 10.34 kB / 0.9384 GB, free: 14.74 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.9503, allocations: 111 kB / 0.9385 GB, free: 14.64 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.9504, allocations: 137 kB / 0.9386 GB, free: 14.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005018/0.9555, allocations: 3.49 MB / 0.942 GB, free: 11.01 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.01224/0.9677, allocations: 12.19 MB / 0.9539 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.9717, allocations: 3.499 MB / 0.9573 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.9742, allocations: 1.824 MB / 0.9591 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.9755, allocations: 1.492 MB / 0.9606 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.9755, allocations: 64.75 kB / 0.9606 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 3.998e-06/0.9755, allocations: 4 kB / 0.9606 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.005698/0.9812, allocations: 3.876 MB / 0.9644 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.9813, allocations: 81.53 kB / 0.9645 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.9828, allocations: 1.376 MB / 0.9658 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.9829, allocations: 77.7 kB / 0.9659 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.9835, allocations: 0.9881 MB / 0.9669 GB, free: 436 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006388/0.9842, allocations: 0.9438 MB / 0.9678 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005515/0.9847, allocations: 409 kB / 0.9682 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.9848, allocations: 301.1 kB / 0.9685 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.9864, allocations: 1.09 MB / 0.9695 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.9881, allocations: 1.38 MB / 0.9709 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/0.9917, allocations: 2.65 MB / 0.9735 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.9917, allocations: 0 / 0.9735 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00419/0.9959, allocations: 2.973 MB / 0.9764 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.9959, allocations: 4 kB / 0.9764 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.9959, allocations: 4 kB / 0.9764 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.996, allocations: 16 kB / 0.9764 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.998, allocations: 0.511 MB / 0.9769 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/0.998, allocations: 22.56 kB / 0.9769 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.9998, allocations: 191.4 kB / 0.9771 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.9999, allocations: 88.08 kB / 0.9772 GB, free: 5.719 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.0009066/1.001, allocations: 0.6455 MB / 0.9778 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/1.001, allocations: 233.2 kB / 0.978 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/1.006, allocations: 3.092 MB / 0.9811 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.006, allocations: 32 kB / 0.9811 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/1.006, allocations: 7.938 kB / 0.9811 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003505/1.009, allocations: 2.647 MB / 0.9837 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008019/1.017, allocations: 6.202 MB / 0.9897 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.017, allocations: 2.625 kB / 0.9897 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002369/1.02, allocations: 0.5488 MB / 0.9903 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/1.02, allocations: 8 kB / 0.9903 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/1.02, allocations: 67.97 kB / 0.9904 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/1.02, allocations: 8 kB / 0.9904 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.02, allocations: 0 / 0.9904 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006119/1.026, allocations: 4.807 MB / 0.9951 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/1.027, allocations: 0.6071 MB / 0.9956 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/1.027, allocations: 51.98 kB / 0.9957 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.029, allocations: 60.11 kB / 0.9958 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/1.029, allocations: 165.9 kB / 0.9959 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.029, allocations: 79.98 kB / 0.996 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001085/1.03, allocations: 0.9462 MB / 0.9969 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/1.03, allocations: 4 kB / 0.9969 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001702/1.032, allocations: 0.9823 MB / 0.9979 GB, free: 336 kB / 0.7169 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.006766/1.039, allocations: 5.618 MB / 1.003 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.049, allocations: 5.539 MB / 1.009 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.05, allocations: 4.062 kB / 1.009 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001831/1.051, allocations: 1.513 MB / 1.01 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/1.057, allocations: 1.352 MB / 1.012 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/1.082, allocations: 21.24 MB / 1.032 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/1.083, allocations: 1.906 MB / 1.034 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002645/1.086, allocations: 0.8358 MB / 1.035 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/1.087, allocations: 1.089 MB / 1.036 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of SimCode: time 5.21e-07/1.087, allocations: 4 kB / 1.036 GB, free: 8.055 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09315/1.18, allocations: 67.81 MB / 1.102 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/9.64, allocations: 8.328 kB / 1.102 GB, free: 5.082 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)