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.004768/0.004768, allocations: 101 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.001226/0.001226, allocations: 188 kB / 16.67 MB, free: 5.977 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7101/0.7101, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 65.12 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1333, 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.5949/0.7282, allocations: 314.1 MB / 0.966 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02635/0.7546, allocations: 18.43 MB / 0.984 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00383/0.7585, allocations: 87.56 kB / 0.9841 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005151/0.7637, allocations: 2.238 MB / 0.9862 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01625/0.7799, allocations: 7.533 MB / 0.9936 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007636/0.7876, allocations: 3.248 MB / 0.9968 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0107/0.7983, allocations: 9.118 MB / 1.006 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00381/0.8021, allocations: 3.121 MB / 1.009 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00534/0.8075, allocations: 3.403 MB / 1.012 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005052/0.8126, allocations: 3.238 MB / 1.015 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007984/0.8134, allocations: 404 kB / 1.016 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01382/0.8272, allocations: 7.03 MB / 1.022 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002424/0.8297, allocations: 1.683 MB / 1.024 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.006098/0.8358, allocations: 2.307 MB / 1.026 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01805/0.8538, allocations: 8.197 MB / 1.034 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8539, allocations: 0 / 1.034 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8539, allocations: 0 / 1.034 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002113/0.8541, allocations: 0 / 1.034 GB, free: 15.93 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.01302/0.8671, allocations: 5 MB / 1.039 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.8672, allocations: 8.031 kB / 1.039 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006378/0.8678, allocations: 463.5 kB / 1.04 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006248/0.8741, allocations: 1.002 MB / 1.041 GB, free: 9.379 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/0.8778, allocations: 2.248 MB / 1.043 GB, free: 7.078 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.8779, allocations: 246.4 kB / 1.043 GB, free: 6.836 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004638/0.8784, allocations: 332 kB / 1.043 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006116/0.8845, allocations: 4.235 MB / 1.048 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.734e-05/0.8846, allocations: 7.938 kB / 1.048 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.8849, allocations: 132 kB / 1.048 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.885, allocations: 166.4 kB / 1.048 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007052/0.8921, allocations: 4.776 MB / 1.053 GB, free: 13.11 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.01657/0.9087, allocations: 14.4 MB / 1.067 GB, free: 13.73 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005568/0.9143, allocations: 4.541 MB / 1.071 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.9175, allocations: 2.463 MB / 1.073 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/0.919, allocations: 1.604 MB / 1.075 GB, free: 4.785 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.9191, allocations: 85.58 kB / 1.075 GB, free: 4.691 MB / 0.795 GB Notification: Performance of pre-optimization done (n=392): time 6.392e-06/0.9191, allocations: 0 / 1.075 GB, free: 4.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=392): time 0.008786/0.9279, allocations: 5.531 MB / 1.08 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.928, allocations: 90.48 kB / 1.081 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.9301, allocations: 1.685 MB / 1.082 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002103/0.9303, allocations: 93.7 kB / 1.082 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007281/0.9311, allocations: 1.136 MB / 1.083 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009853/0.9321, allocations: 1.316 MB / 1.085 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008298/0.9329, allocations: 0.5546 MB / 1.085 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.933, allocations: 301.1 kB / 1.086 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.9354, allocations: 1.56 MB / 1.087 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.9381, allocations: 1.935 MB / 1.089 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005569/0.9437, allocations: 3.769 MB / 1.093 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.9437, allocations: 4 kB / 1.093 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006576/0.9503, allocations: 4.169 MB / 1.097 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.9503, allocations: 8 kB / 1.097 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.9503, allocations: 4.656 kB / 1.097 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.9504, allocations: 24 kB / 1.097 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/0.9533, allocations: 0.6943 MB / 1.097 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.915e-05/0.9533, allocations: 30.03 kB / 1.097 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.9556, allocations: 253.1 kB / 1.098 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.9559, allocations: 116 kB / 1.098 GB, free: 13.11 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.001353/0.9572, allocations: 0.8016 MB / 1.099 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006534/0.9579, allocations: 296.5 kB / 1.099 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/0.9649, allocations: 4.423 MB / 1.103 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/0.9649, allocations: 40 kB / 1.103 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.965, allocations: 0 / 1.103 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005392/0.9704, allocations: 3.796 MB / 1.107 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.9843, allocations: 8.613 MB / 1.115 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.9843, allocations: 4 kB / 1.115 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/0.9875, allocations: 0.7376 MB / 1.116 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.931e-05/0.9875, allocations: 19.94 kB / 1.116 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/0.9878, allocations: 83.98 kB / 1.116 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-05/0.9878, allocations: 16 kB / 1.116 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9878, allocations: 0 / 1.116 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009514/0.9973, allocations: 6.829 MB / 1.123 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.9989, allocations: 0.7933 MB / 1.124 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004683/0.9994, allocations: 79.86 kB / 1.124 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.001, allocations: 88.02 kB / 1.124 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004115/1.002, allocations: 238.6 kB / 1.124 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.002, allocations: 116 kB / 1.124 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001628/1.004, allocations: 1.157 MB / 1.125 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.004, allocations: 0 / 1.125 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002528/1.006, allocations: 1.224 MB / 1.126 GB, free: 15.35 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.01041/1.017, allocations: 7.736 MB / 1.134 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006089/1.023, allocations: 3.952 MB / 1.138 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.023, allocations: 0 / 1.138 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002919/1.026, allocations: 2.156 MB / 1.14 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2761/1.302, allocations: 1.589 MB / 1.141 GB, free: 360 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03575/1.337, allocations: 25.64 MB / 1.167 GB, free: 350.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.339, allocations: 2.204 MB / 1.169 GB, free: 349.9 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002991/1.342, allocations: 1.197 MB / 1.17 GB, free: 349.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/1.343, allocations: 1.388 MB / 1.171 GB, free: 348.7 MB / 0.8575 GB Notification: Performance of SimCode: time 8.12e-07/1.343, allocations: 0 / 1.171 GB, free: 348.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09466/1.438, allocations: 85.67 MB / 1.255 GB, free: 267.1 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.51, allocations: 11.17 kB / 1.255 GB, free: 267.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)