Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",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.004892/0.004892, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001225/0.001225, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7182/0.7182, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.59 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1332, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5633/0.6966, allocations: 314.1 MB / 0.966 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.7221, allocations: 18.42 MB / 0.984 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/0.7258, allocations: 87.56 kB / 0.984 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005745/0.7316, allocations: 2.246 MB / 0.9862 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01819/0.7498, allocations: 7.533 MB / 0.9936 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008158/0.758, allocations: 3.248 MB / 0.9968 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.7687, allocations: 9.116 MB / 1.006 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004566/0.7733, allocations: 3.109 MB / 1.009 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006145/0.7795, allocations: 3.407 MB / 1.012 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00577/0.7853, allocations: 3.233 MB / 1.015 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.7865, allocations: 407.9 kB / 1.016 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/0.8003, allocations: 7.03 MB / 1.022 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002306/0.8026, allocations: 1.687 MB / 1.024 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00416/0.8068, allocations: 2.31 MB / 1.026 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01499/0.8218, allocations: 8.22 MB / 1.034 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.8218, allocations: 0 / 1.034 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8218, allocations: 4 kB / 1.034 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001734/0.822, allocations: 0 / 1.034 GB, free: 15.99 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01372/0.8358, allocations: 5.13 MB / 1.039 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.8358, allocations: 8.031 kB / 1.039 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008537/0.8367, allocations: 459.5 kB / 1.04 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006779/0.8435, allocations: 1.028 MB / 1.041 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004702/0.8482, allocations: 2.261 MB / 1.043 GB, free: 6.969 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.8484, allocations: 250.4 kB / 1.043 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006606/0.8491, allocations: 323.9 kB / 1.044 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007242/0.8563, allocations: 4.235 MB / 1.048 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-05/0.8564, allocations: 7.953 kB / 1.048 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003505/0.8568, allocations: 136 kB / 1.048 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/0.8569, allocations: 162.4 kB / 1.048 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007942/0.8649, allocations: 4.779 MB / 1.053 GB, free: 13 MB / 0.7794 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.01978/0.8847, allocations: 14.43 MB / 1.067 GB, free: 13.59 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005928/0.8906, allocations: 4.548 MB / 1.071 GB, free: 9.043 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003521/0.8942, allocations: 2.455 MB / 1.074 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.8958, allocations: 1.616 MB / 1.075 GB, free: 4.637 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.8958, allocations: 73.64 kB / 1.075 GB, free: 4.555 MB / 0.795 GB Notification: Performance of pre-optimization done (n=392): time 4.979e-06/0.8959, allocations: 0 / 1.075 GB, free: 4.555 MB / 0.795 GB Notification: Performance of matching and sorting (n=392): time 0.009026/0.9049, allocations: 5.541 MB / 1.081 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.905, allocations: 94.42 kB / 1.081 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.9072, allocations: 1.688 MB / 1.082 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002644/0.9074, allocations: 93.7 kB / 1.083 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007603/0.9082, allocations: 1.154 MB / 1.084 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.9093, allocations: 1.39 MB / 1.085 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008439/0.9101, allocations: 0.547 MB / 1.086 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.9102, allocations: 305.1 kB / 1.086 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/0.9126, allocations: 1.556 MB / 1.087 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.9154, allocations: 1.939 MB / 1.089 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005545/0.9209, allocations: 3.769 MB / 1.093 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.9209, allocations: 0 / 1.093 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006877/0.9278, allocations: 4.187 MB / 1.097 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.9279, allocations: 11.98 kB / 1.097 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.9279, allocations: 8.062 kB / 1.097 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/0.9279, allocations: 20 kB / 1.097 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/0.931, allocations: 0.6866 MB / 1.098 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.73e-05/0.931, allocations: 23.94 kB / 1.098 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.9337, allocations: 268.6 kB / 1.098 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/0.934, allocations: 116 kB / 1.098 GB, free: 12.87 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001469/0.9355, allocations: 0.8054 MB / 1.099 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006398/0.9361, allocations: 314 kB / 1.099 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007027/0.9431, allocations: 4.413 MB / 1.103 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.9432, allocations: 40 kB / 1.104 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.9432, allocations: 3.984 kB / 1.104 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00533/0.9485, allocations: 3.792 MB / 1.107 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.9617, allocations: 8.626 MB / 1.116 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.9618, allocations: 8.031 kB / 1.116 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00331/0.9651, allocations: 0.7295 MB / 1.116 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.408e-05/0.9651, allocations: 19.94 kB / 1.116 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002161/0.9653, allocations: 83.92 kB / 1.116 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.057e-05/0.9654, allocations: 23.98 kB / 1.117 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9654, allocations: 3.938 kB / 1.117 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009448/0.9748, allocations: 6.843 MB / 1.123 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/0.9767, allocations: 0.8068 MB / 1.124 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004941/0.9772, allocations: 71.94 kB / 1.124 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/0.9793, allocations: 99.98 kB / 1.124 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004217/0.9797, allocations: 230.7 kB / 1.124 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/0.98, allocations: 112 kB / 1.124 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001599/0.9816, allocations: 1.153 MB / 1.126 GB, free: 304 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9816, allocations: 0 / 1.126 GB, free: 304 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002759/0.9844, allocations: 1.233 MB / 1.127 GB, free: 15.06 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.01081/0.9952, allocations: 7.756 MB / 1.134 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006076/1.001, allocations: 3.948 MB / 1.138 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.001, allocations: 4.188 kB / 1.138 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002973/1.004, allocations: 2.152 MB / 1.14 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2784/1.283, allocations: 1.598 MB / 1.142 GB, free: 360.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03675/1.319, allocations: 25.76 MB / 1.167 GB, free: 350.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/1.321, allocations: 2.2 MB / 1.169 GB, free: 349.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003372/1.324, allocations: 1.201 MB / 1.17 GB, free: 349.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/1.326, allocations: 1.39 MB / 1.172 GB, free: 348.6 MB / 0.8575 GB Notification: Performance of SimCode: time 8.21e-07/1.326, allocations: 0 / 1.172 GB, free: 348.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.428, allocations: 85.66 MB / 1.255 GB, free: 266.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.66, allocations: 12.58 kB / 1.255 GB, free: 266.7 MB / 0.8575 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy_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_ReverseBuoyancy.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)