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.0008112/0.0008113, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0008711/0.0008712, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.924/0.924, allocations: 135.3 MB / 426.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 10.16 kB / 0.5071 GB, free: 5.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1608, allocations: 82.32 MB / 0.5875 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.051/1.212, allocations: 287.1 MB / 0.8678 GB, free: 10.17 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02403/1.236, allocations: 17.32 MB / 0.8847 GB, free: 9.973 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004646/1.241, allocations: 75.38 kB / 0.8848 GB, free: 9.969 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005214/1.246, allocations: 1.4 MB / 0.8861 GB, free: 9.945 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01755/1.264, allocations: 5.316 MB / 0.8913 GB, free: 9.719 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008018/1.272, allocations: 2.243 MB / 0.8935 GB, free: 9.664 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01511/1.287, allocations: 10.97 MB / 0.9042 GB, free: 9.645 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005876/1.293, allocations: 2.378 MB / 0.9066 GB, free: 25.33 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008699/1.301, allocations: 2.87 MB / 0.9094 GB, free: 25.33 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009046/1.311, allocations: 3.153 MB / 0.9124 GB, free: 25.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00123/1.312, allocations: 196.3 kB / 0.9126 GB, free: 25.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/1.325, allocations: 3.476 MB / 0.916 GB, free: 25.25 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004289/1.33, allocations: 1.466 MB / 0.9175 GB, free: 25.24 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003904/1.333, allocations: 0.8002 MB / 0.9182 GB, free: 25.21 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01199/1.345, allocations: 5.402 MB / 0.9235 GB, free: 24.78 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/1.345, allocations: 2.844 kB / 0.9235 GB, free: 24.78 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.075e-06/1.345, allocations: 0 / 0.9235 GB, free: 24.78 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003583/1.346, allocations: 0 / 0.9235 GB, free: 24.78 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.01593/1.362, allocations: 4.359 MB / 0.9278 GB, free: 22.74 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.362, allocations: 9.406 kB / 0.9278 GB, free: 22.74 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002044/1.364, allocations: 464 kB / 0.9282 GB, free: 22.61 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007914/1.372, allocations: 1.009 MB / 0.9292 GB, free: 22.19 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006002/1.378, allocations: 2.083 MB / 0.9312 GB, free: 21.34 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/1.378, allocations: 250.8 kB / 0.9315 GB, free: 21.32 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00157/1.38, allocations: 330.6 kB / 0.9318 GB, free: 21.32 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/1.391, allocations: 4.208 MB / 0.9359 GB, free: 20.19 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001871/1.392, allocations: 11.05 kB / 0.9359 GB, free: 20.19 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008762/1.392, allocations: 139.2 kB / 0.9361 GB, free: 20.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/1.393, allocations: 164.5 kB / 0.9362 GB, free: 20.16 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009677/1.402, allocations: 4.745 MB / 0.9408 GB, free: 19.28 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.02446/1.427, allocations: 14.37 MB / 0.9549 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006736/1.434, allocations: 4.512 MB / 0.9593 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003928/1.438, allocations: 2.442 MB / 0.9617 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001822/1.439, allocations: 1.618 MB / 0.9632 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.645e-05/1.44, allocations: 76.95 kB / 0.9633 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=392): time 6.422e-06/1.44, allocations: 0 / 0.9633 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of matching and sorting (n=392): time 0.01062/1.45, allocations: 5.498 MB / 0.9687 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/1.45, allocations: 90.48 kB / 0.9688 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003262/1.454, allocations: 1.673 MB / 0.9704 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004728/1.454, allocations: 98.39 kB / 0.9705 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.455, allocations: 1.127 MB / 0.9716 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/1.457, allocations: 1.322 MB / 0.9729 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/1.458, allocations: 70.44 kB / 0.973 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0004134/1.458, allocations: 437.8 kB / 0.9734 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/1.461, allocations: 1.551 MB / 0.9749 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/1.464, allocations: 1.921 MB / 0.9768 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/1.467, allocations: 1.833 MB / 0.9786 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/1.467, allocations: 4 kB / 0.9786 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007469/1.475, allocations: 4.142 MB / 0.9826 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/1.475, allocations: 8 kB / 0.9826 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.475, allocations: 4 kB / 0.9826 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.147e-05/1.475, allocations: 20 kB / 0.9826 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/1.478, allocations: 0.6945 MB / 0.9833 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.94e-05/1.478, allocations: 18.53 kB / 0.9833 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/1.482, allocations: 439.5 kB / 0.9838 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000351/1.482, allocations: 118.3 kB / 0.9839 GB, free: 11.64 MB / 0.7012 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.002005/1.484, allocations: 0.801 MB / 0.9846 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.485, allocations: 296.5 kB / 0.9849 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008318/1.494, allocations: 4.404 MB / 0.9892 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/1.494, allocations: 40 kB / 0.9893 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/1.494, allocations: 0 / 0.9893 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005761/1.5, allocations: 3.768 MB / 0.9929 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/1.515, allocations: 8.596 MB / 1.001 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/1.515, allocations: 8 kB / 1.001 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003378/1.518, allocations: 0.7321 MB / 1.002 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.499e-05/1.518, allocations: 16 kB / 1.002 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/1.519, allocations: 86.39 kB / 1.002 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-05/1.519, allocations: 18.42 kB / 1.002 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.519, allocations: 4 kB / 1.002 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.53, allocations: 6.798 MB / 1.009 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/1.533, allocations: 0.7902 MB / 1.01 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009002/1.534, allocations: 75.42 kB / 1.01 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003351/1.537, allocations: 275 kB / 1.01 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004522/1.538, allocations: 238.5 kB / 1.01 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002981/1.538, allocations: 108.6 kB / 1.01 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002206/1.54, allocations: 1.14 MB / 1.011 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/1.54, allocations: 0 / 1.011 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004375/1.545, allocations: 1.232 MB / 1.013 GB, free: 7.098 MB / 0.7169 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.01189/1.557, allocations: 7.712 MB / 1.02 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007018/1.564, allocations: 3.907 MB / 1.024 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.564, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003913/1.568, allocations: 2.144 MB / 1.026 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0106/1.578, allocations: 1.529 MB / 1.028 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04796/1.626, allocations: 23.12 MB / 1.05 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/1.629, allocations: 2.21 MB / 1.052 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.006229/1.635, allocations: 1.197 MB / 1.053 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003024/1.638, allocations: 1.388 MB / 1.055 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/1.638, allocations: 0 / 1.055 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1489/1.787, allocations: 84.82 MB / 1.138 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/1.787, allocations: 213.2 kB / 1.138 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.08/5.867, allocations: 0 / 1.138 GB, free: 0.7188 MB / 0.8262 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: