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.004046/0.004046, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.0009973/0.0009973, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7241/0.7241, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 70.91 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1321, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5726/0.7047, allocations: 295.1 MB / 0.9474 GB, free: 8.867 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.7272, allocations: 16.99 MB / 0.964 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.7303, allocations: 83.56 kB / 0.964 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004621/0.735, allocations: 1.974 MB / 0.966 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01567/0.7506, allocations: 6.626 MB / 0.9724 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008007/0.7587, allocations: 2.969 MB / 0.9753 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.7691, allocations: 7.699 MB / 0.9829 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004311/0.7734, allocations: 2.602 MB / 0.9854 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005603/0.7791, allocations: 2.858 MB / 0.9882 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005091/0.7842, allocations: 2.71 MB / 0.9908 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009996/0.7852, allocations: 328 kB / 0.9911 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01383/0.799, allocations: 6.196 MB / 0.9972 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.8011, allocations: 1.34 MB / 0.9985 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00399/0.8051, allocations: 1.886 MB / 1 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.819, allocations: 6.912 MB / 1.007 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.819, allocations: 3.938 kB / 1.007 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.095e-06/0.8191, allocations: 3.984 kB / 1.007 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001535/0.8192, allocations: 0 / 1.007 GB, free: 12.04 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.01142/0.8307, allocations: 4.234 MB / 1.011 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8307, allocations: 8.031 kB / 1.011 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007834/0.8315, allocations: 371 kB / 1.012 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006464/0.838, allocations: 0.9307 MB / 1.013 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003767/0.8418, allocations: 1.93 MB / 1.014 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.8419, allocations: 197 kB / 1.015 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004134/0.8423, allocations: 267.9 kB / 1.015 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005562/0.8479, allocations: 3.331 MB / 1.018 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.59e-05/0.848, allocations: 7.953 kB / 1.018 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002839/0.8483, allocations: 108 kB / 1.018 GB, free: 440 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.8484, allocations: 137 kB / 1.018 GB, free: 300 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00561/0.854, allocations: 3.49 MB / 1.022 GB, free: 12.79 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.01531/0.8694, allocations: 12.15 MB / 1.034 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004575/0.874, allocations: 3.479 MB / 1.037 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/0.8769, allocations: 1.853 MB / 1.039 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/0.8784, allocations: 1.485 MB / 1.04 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.8785, allocations: 73.16 kB / 1.04 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.178e-06/0.8785, allocations: 0 / 1.04 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.006321/0.8848, allocations: 3.894 MB / 1.044 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.8849, allocations: 77.59 kB / 1.044 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.8867, allocations: 1.372 MB / 1.046 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.8868, allocations: 81.7 kB / 1.046 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006871/0.8875, allocations: 1.006 MB / 1.047 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008249/0.8884, allocations: 0.9952 MB / 1.048 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006001/0.889, allocations: 405 kB / 1.048 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.8891, allocations: 309.1 kB / 1.048 GB, free: 220 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.8908, allocations: 1.09 MB / 1.049 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.8927, allocations: 1.377 MB / 1.051 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005206/0.8979, allocations: 2.65 MB / 1.053 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.898, allocations: 0 / 1.053 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006468/0.9045, allocations: 2.975 MB / 1.056 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.9045, allocations: 8 kB / 1.056 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.9045, allocations: 4 kB / 1.056 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.123e-05/0.9046, allocations: 16 kB / 1.056 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/0.9082, allocations: 0.511 MB / 1.057 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.528e-05/0.9083, allocations: 15.94 kB / 1.057 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003309/0.9116, allocations: 201 kB / 1.057 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.9119, allocations: 91.92 kB / 1.057 GB, free: 7.062 MB / 0.7794 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.001742/0.9137, allocations: 0.6455 MB / 1.058 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009728/0.9147, allocations: 238.5 kB / 1.058 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007913/0.9226, allocations: 3.096 MB / 1.061 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-05/0.9227, allocations: 28 kB / 1.061 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.9227, allocations: 48 / 1.061 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005345/0.928, allocations: 2.657 MB / 1.063 GB, free: 272 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.9416, allocations: 6.206 MB / 1.07 GB, free: 9.953 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.9416, allocations: 0 / 1.07 GB, free: 9.953 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003851/0.9455, allocations: 0.5462 MB / 1.07 GB, free: 9.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.504e-05/0.9455, allocations: 19.73 kB / 1.07 GB, free: 9.391 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/0.9458, allocations: 55.98 kB / 1.07 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-05/0.9459, allocations: 12 kB / 1.07 GB, free: 9.324 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.9459, allocations: 0 / 1.07 GB, free: 9.324 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007657/0.9535, allocations: 4.813 MB / 1.075 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/0.9552, allocations: 0.6315 MB / 1.075 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004273/0.9556, allocations: 44 kB / 1.076 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.9573, allocations: 65.3 kB / 1.076 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/0.9576, allocations: 165.9 kB / 1.076 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.9578, allocations: 79.97 kB / 1.076 GB, free: 3.426 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001287/0.9591, allocations: 0.9423 MB / 1.077 GB, free: 2.488 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9591, allocations: 0 / 1.077 GB, free: 2.488 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002071/0.9611, allocations: 0.9906 MB / 1.078 GB, free: 1.496 MB / 0.795 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.007481/0.9686, allocations: 5.641 MB / 1.083 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004285/0.9729, allocations: 2.778 MB / 1.086 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.973, allocations: 0 / 1.086 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.9751, allocations: 1.515 MB / 1.087 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00558/0.9807, allocations: 1.349 MB / 1.089 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/1.008, allocations: 19.48 MB / 1.108 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.01, allocations: 1.903 MB / 1.11 GB, free: 396 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002534/1.012, allocations: 0.832 MB / 1.11 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.014, allocations: 1.097 MB / 1.111 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of SimCode: time 7.31e-07/1.014, allocations: 0 / 1.111 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3658/1.38, allocations: 68.37 MB / 1.178 GB, free: 339.9 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.81, allocations: 4.906 kB / 1.178 GB, free: 339.9 MB / 0.8575 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)