Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IDEAS_dev_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.006356/0.006356, allocations: 99.05 kB / 15.73 MB, free: 6.008 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.001045/0.001045, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8071/0.8071, allocations: 135.1 MB / 425.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 58.56 kB / 0.5851 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1492, allocations: 80.93 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6677/0.8169, allocations: 314.1 MB / 0.9709 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.8434, allocations: 18.44 MB / 0.9889 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00403/0.8475, allocations: 87.56 kB / 0.989 GB, free: 2.473 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005905/0.8535, allocations: 2.238 MB / 0.9912 GB, free: 228 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01828/0.8718, allocations: 7.526 MB / 0.9985 GB, free: 8.664 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008374/0.8802, allocations: 3.265 MB / 1.002 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.8921, allocations: 9.1 MB / 1.011 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004885/0.897, allocations: 3.122 MB / 1.014 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006383/0.9034, allocations: 3.407 MB / 1.017 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006272/0.9097, allocations: 3.234 MB / 1.02 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.9108, allocations: 400 kB / 1.021 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01463/0.9255, allocations: 7.038 MB / 1.027 GB, free: 11 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002502/0.928, allocations: 1.683 MB / 1.029 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004513/0.9325, allocations: 2.306 MB / 1.031 GB, free: 7.004 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.9477, allocations: 8.22 MB / 1.039 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9478, allocations: 0 / 1.039 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9478, allocations: 0 / 1.039 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002244/0.948, allocations: 0 / 1.039 GB, free: 14.76 MB / 0.8106 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.0152/0.9632, allocations: 5.13 MB / 1.044 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.9633, allocations: 13.11 kB / 1.044 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00079/0.9641, allocations: 455.5 kB / 1.045 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006918/0.971, allocations: 1.028 MB / 1.046 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.9757, allocations: 2.261 MB / 1.048 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.9759, allocations: 246.4 kB / 1.048 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005766/0.9764, allocations: 331.9 kB / 1.049 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00717/0.9836, allocations: 4.232 MB / 1.053 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-05/0.9837, allocations: 11.89 kB / 1.053 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003425/0.9841, allocations: 139.9 kB / 1.053 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.9842, allocations: 166.4 kB / 1.053 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2978/1.282, allocations: 4.767 MB / 1.058 GB, free: 308.7 MB / 0.8106 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.01868/1.301, allocations: 14.43 MB / 1.072 GB, free: 299.7 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005369/1.306, allocations: 4.547 MB / 1.076 GB, free: 297.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003145/1.309, allocations: 2.453 MB / 1.079 GB, free: 296.8 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/1.311, allocations: 1.609 MB / 1.08 GB, free: 295.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/1.311, allocations: 82.77 kB / 1.08 GB, free: 295 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=392): time 5.28e-06/1.311, allocations: 0 / 1.08 GB, free: 295 MB / 0.8106 GB Notification: Performance of matching and sorting (n=392): time 0.008348/1.319, allocations: 5.551 MB / 1.086 GB, free: 292.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/1.319, allocations: 96.22 kB / 1.086 GB, free: 292.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/1.321, allocations: 1.684 MB / 1.087 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/1.321, allocations: 93.52 kB / 1.087 GB, free: 291.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/1.322, allocations: 1.157 MB / 1.089 GB, free: 290.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008184/1.323, allocations: 1.391 MB / 1.09 GB, free: 289.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007383/1.323, allocations: 0.5559 MB / 1.09 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.456e-05/1.324, allocations: 301.1 kB / 1.091 GB, free: 289.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/1.326, allocations: 1.561 MB / 1.092 GB, free: 288.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/1.328, allocations: 1.938 MB / 1.094 GB, free: 287.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004517/1.332, allocations: 3.769 MB / 1.098 GB, free: 285.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.332, allocations: 3.969 kB / 1.098 GB, free: 285.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00538/1.338, allocations: 4.181 MB / 1.102 GB, free: 283.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.338, allocations: 7.281 kB / 1.102 GB, free: 283.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.338, allocations: 7.344 kB / 1.102 GB, free: 283.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/1.338, allocations: 18 kB / 1.102 GB, free: 283.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/1.341, allocations: 0.6959 MB / 1.103 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/1.341, allocations: 19.53 kB / 1.103 GB, free: 283.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.343, allocations: 279.4 kB / 1.103 GB, free: 283 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/1.343, allocations: 117.9 kB / 1.103 GB, free: 282.9 MB / 0.8106 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.001094/1.344, allocations: 0.7985 MB / 1.104 GB, free: 282.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/1.345, allocations: 303.9 kB / 1.104 GB, free: 282.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005637/1.351, allocations: 4.42 MB / 1.108 GB, free: 277.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/1.351, allocations: 36 kB / 1.108 GB, free: 277.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.351, allocations: 0 / 1.108 GB, free: 277.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004296/1.355, allocations: 3.786 MB / 1.112 GB, free: 273.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/1.365, allocations: 8.63 MB / 1.121 GB, free: 265.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.365, allocations: 4 kB / 1.121 GB, free: 265.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003055/1.369, allocations: 0.7283 MB / 1.121 GB, free: 264.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/1.369, allocations: 16 kB / 1.121 GB, free: 264.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/1.369, allocations: 87.97 kB / 1.121 GB, free: 264.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/1.369, allocations: 16 kB / 1.121 GB, free: 264.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.369, allocations: 4 kB / 1.121 GB, free: 264.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007564/1.376, allocations: 6.846 MB / 1.128 GB, free: 257.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.378, allocations: 0.8137 MB / 1.129 GB, free: 256.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004018/1.378, allocations: 68 kB / 1.129 GB, free: 256.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/1.38, allocations: 79.97 kB / 1.129 GB, free: 256.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/1.38, allocations: 246.3 kB / 1.129 GB, free: 256.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.381, allocations: 112 kB / 1.129 GB, free: 256.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001189/1.382, allocations: 1.153 MB / 1.131 GB, free: 255 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.382, allocations: 0 / 1.131 GB, free: 255 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002022/1.384, allocations: 1.237 MB / 1.132 GB, free: 253.8 MB / 0.8106 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.008172/1.392, allocations: 7.768 MB / 1.139 GB, free: 246 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004716/1.397, allocations: 3.951 MB / 1.143 GB, free: 242 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.397, allocations: 0 / 1.143 GB, free: 242 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/1.399, allocations: 2.152 MB / 1.145 GB, free: 239.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00585/1.405, allocations: 1.6 MB / 1.147 GB, free: 238.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02845/1.433, allocations: 25.75 MB / 1.172 GB, free: 212.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/1.435, allocations: 2.219 MB / 1.174 GB, free: 210.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003049/1.438, allocations: 1.197 MB / 1.175 GB, free: 209 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/1.439, allocations: 1.386 MB / 1.177 GB, free: 207.6 MB / 0.8106 GB Notification: Performance of SimCode: time 8.12e-07/1.439, allocations: 4 kB / 1.177 GB, free: 207.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09736/1.537, allocations: 85.67 MB / 1.26 GB, free: 122.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.66, allocations: 6.094 kB / 1.26 GB, free: 122.5 MB / 0.8106 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)