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.001446/0.001446, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002855/0.002856, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.223/2.223, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.277/1.277, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000545/0.0005451, allocations: 8 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2781, allocations: 82.31 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6012/0.8794, allocations: 254.1 MB / 0.8355 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04337/0.9228, allocations: 18.57 MB / 0.8536 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005935/0.9288, allocations: 71.5 kB / 0.8537 GB, free: 11.38 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.9391, allocations: 1.875 MB / 0.8555 GB, free: 9.492 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02774/0.9669, allocations: 5.462 MB / 0.8608 GB, free: 4.02 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01264/0.9796, allocations: 2.457 MB / 0.8632 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.3953/1.375, allocations: 5.187 MB / 0.8683 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004372/1.379, allocations: 2.411 MB / 0.8706 GB, free: 26.1 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007148/1.386, allocations: 2.808 MB / 0.8734 GB, free: 26.09 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004678/1.391, allocations: 2.086 MB / 0.8754 GB, free: 26.08 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001096/1.392, allocations: 201.9 kB / 0.8756 GB, free: 26.07 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009241/1.402, allocations: 2.756 MB / 0.8783 GB, free: 26.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00274/1.404, allocations: 1.33 MB / 0.8796 GB, free: 26.07 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002775/1.407, allocations: 0.8032 MB / 0.8804 GB, free: 26.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009058/1.416, allocations: 4.887 MB / 0.8852 GB, free: 25.66 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/1.416, allocations: 0.6562 kB / 0.8852 GB, free: 25.66 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.094e-06/1.416, allocations: 0 / 0.8852 GB, free: 25.66 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002635/1.417, allocations: 0.5938 kB / 0.8852 GB, free: 25.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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01604/1.433, allocations: 4.214 MB / 0.8893 GB, free: 23.89 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.433, allocations: 9.031 kB / 0.8893 GB, free: 23.89 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001913/1.435, allocations: 464 kB / 0.8897 GB, free: 23.83 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00799/1.443, allocations: 1.018 MB / 0.8907 GB, free: 23.61 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006532/1.449, allocations: 2.089 MB / 0.8928 GB, free: 23.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/1.45, allocations: 244.4 kB / 0.893 GB, free: 23.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/1.451, allocations: 338 kB / 0.8933 GB, free: 23.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/1.463, allocations: 4.177 MB / 0.8974 GB, free: 22.8 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.474e-05/1.463, allocations: 9.969 kB / 0.8974 GB, free: 22.8 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003978/1.463, allocations: 134.5 kB / 0.8975 GB, free: 22.8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002111/1.464, allocations: 166.7 kB / 0.8977 GB, free: 22.79 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009482/1.473, allocations: 4.751 MB / 0.9023 GB, free: 22.75 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.02145/1.495, allocations: 14.36 MB / 0.9164 GB, free: 16.23 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005311/1.5, allocations: 4.514 MB / 0.9208 GB, free: 16.05 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/1.502, allocations: 1.533 MB / 0.9223 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.047e-05/1.502, allocations: 72.8 kB / 0.9223 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=392): time 4.859e-06/1.502, allocations: 0 / 0.9223 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=392): time 0.008564/1.51, allocations: 5.497 MB / 0.9277 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/1.51, allocations: 91.91 kB / 0.9278 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/1.513, allocations: 1.671 MB / 0.9294 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.00044/1.513, allocations: 97.97 kB / 0.9295 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/1.514, allocations: 1.126 MB / 0.9306 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/1.515, allocations: 1.322 MB / 0.9319 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/1.515, allocations: 67.12 kB / 0.932 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002114/1.515, allocations: 439.1 kB / 0.9324 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/1.517, allocations: 1.551 MB / 0.9339 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/1.52, allocations: 1.91 MB / 0.9358 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/1.522, allocations: 1.829 MB / 0.9376 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/1.522, allocations: 3.094 kB / 0.9376 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005996/1.528, allocations: 4.139 MB / 0.9416 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/1.528, allocations: 11.06 kB / 0.9416 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.528, allocations: 2.938 kB / 0.9416 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/1.528, allocations: 20.56 kB / 0.9416 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.531, allocations: 0.6952 MB / 0.9423 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.491e-05/1.531, allocations: 25.09 kB / 0.9423 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/1.535, allocations: 434.2 kB / 0.9428 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/1.535, allocations: 122.1 kB / 0.9429 GB, free: 10.62 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001802/1.537, allocations: 0.7855 MB / 0.9436 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000809/1.538, allocations: 306 kB / 0.9439 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006609/1.544, allocations: 4.399 MB / 0.9482 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/1.544, allocations: 40.91 kB / 0.9483 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.544, allocations: 0 / 0.9483 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005268/1.55, allocations: 3.76 MB / 0.9519 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.565, allocations: 8.586 MB / 0.9603 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/1.565, allocations: 4 kB / 0.9603 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003684/1.569, allocations: 0.7299 MB / 0.961 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.47e-05/1.569, allocations: 19.95 kB / 0.9611 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003405/1.569, allocations: 85.47 kB / 0.9611 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-05/1.569, allocations: 19.98 kB / 0.9612 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.569, allocations: 6.906 kB / 0.9612 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009827/1.579, allocations: 6.956 MB / 0.968 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003115/1.582, allocations: 0.7926 MB / 0.9687 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009072/1.583, allocations: 68.3 kB / 0.9688 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003196/1.586, allocations: 276.2 kB / 0.9691 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004804/1.587, allocations: 230 kB / 0.9693 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/1.587, allocations: 116.8 kB / 0.9694 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001836/1.589, allocations: 1.137 MB / 0.9705 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6.01e-07/1.589, allocations: 0 / 0.9705 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004264/1.593, allocations: 1.232 MB / 0.9717 GB, free: 10.93 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01105/1.604, allocations: 8.503 MB / 0.98 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006041/1.61, allocations: 3.904 MB / 0.9838 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.611, allocations: 0 / 0.9838 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003074/1.614, allocations: 2.14 MB / 0.9859 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007751/1.621, allocations: 1.477 MB / 0.9874 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.641, allocations: 14 MB / 1.001 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003152/1.644, allocations: 2.267 MB / 1.003 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.008416/1.653, allocations: 1.202 MB / 1.004 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003581/1.656, allocations: 1.385 MB / 1.006 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/1.656, allocations: 4 kB / 1.006 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.25/2.906, allocations: 83.35 MB / 1.087 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007029/2.907, allocations: 212.4 kB / 1.087 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/9.607, allocations: 0 / 1.087 GB, free: 12.11 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) Environment - environmentSimulation: