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.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001197/0.001197, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8174/0.8174, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 68.72 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1238, allocations: 80.93 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7386/0.8624, allocations: 312 MB / 0.8885 GB, free: 1.32 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.8822, allocations: 18.64 MB / 0.9067 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.8849, allocations: 75.53 kB / 0.9067 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004269/0.8892, allocations: 1.882 MB / 0.9086 GB, free: 1.059 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01399/0.9032, allocations: 6.894 MB / 0.9153 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006387/0.9096, allocations: 2.925 MB / 0.9182 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01199/0.9216, allocations: 13.12 MB / 0.931 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003778/0.9254, allocations: 2.669 MB / 0.9336 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005229/0.9306, allocations: 2.893 MB / 0.9364 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005731/0.9364, allocations: 3.36 MB / 0.9397 GB, free: 16.05 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.9374, allocations: 228.8 kB / 0.9399 GB, free: 16.05 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/0.9508, allocations: 8.129 MB / 0.9478 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00211/0.9529, allocations: 1.517 MB / 0.9493 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003971/0.9569, allocations: 2.123 MB / 0.9514 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.9695, allocations: 8.495 MB / 0.9597 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9695, allocations: 0 / 0.9597 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of FrontEnd: time 9.12e-07/0.9695, allocations: 0 / 0.9597 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001769/0.9697, allocations: 0 / 0.9597 GB, free: 10.3 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.0123/0.982, allocations: 4.994 MB / 0.9646 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.982, allocations: 12.03 kB / 0.9646 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004884/0.9825, allocations: 458 kB / 0.965 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006105/0.9886, allocations: 1.01 MB / 0.966 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/0.9917, allocations: 2.159 MB / 0.9681 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.9918, allocations: 246.3 kB / 0.9683 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.9923, allocations: 331.1 kB / 0.9687 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00578/0.998, allocations: 4.234 MB / 0.9728 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.845e-05/0.9981, allocations: 9.781 kB / 0.9728 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/0.9984, allocations: 138.4 kB / 0.9729 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.9986, allocations: 171.2 kB / 0.9731 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006664/1.005, allocations: 4.779 MB / 0.9778 GB, free: 12.93 MB / 0.7012 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.01531/1.021, allocations: 14.34 MB / 0.9918 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00529/1.026, allocations: 4.539 MB / 0.9962 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003093/1.029, allocations: 2.448 MB / 0.9986 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/1.03, allocations: 1.611 MB / 1 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/1.03, allocations: 80.45 kB / 1 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 4.598e-06/1.03, allocations: 0 / 1 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.008131/1.039, allocations: 5.523 MB / 1.006 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/1.039, allocations: 98.47 kB / 1.006 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/1.041, allocations: 1.686 MB / 1.007 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001884/1.041, allocations: 96.8 kB / 1.007 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006814/1.041, allocations: 1.13 MB / 1.009 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008783/1.042, allocations: 1.323 MB / 1.01 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007922/1.043, allocations: 0.5507 MB / 1.01 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/1.043, allocations: 301.1 kB / 1.011 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/1.045, allocations: 1.564 MB / 1.012 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/1.048, allocations: 1.946 MB / 1.014 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005018/1.053, allocations: 3.765 MB / 1.018 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.053, allocations: 7.938 kB / 1.018 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005854/1.059, allocations: 4.165 MB / 1.022 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.059, allocations: 8 kB / 1.022 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.059, allocations: 8.062 kB / 1.022 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/1.059, allocations: 23.98 kB / 1.022 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/1.062, allocations: 0.6914 MB / 1.023 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/1.062, allocations: 23.84 kB / 1.023 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/1.064, allocations: 438.2 kB / 1.023 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/1.065, allocations: 120 kB / 1.023 GB, free: 13.34 MB / 0.7481 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.00121/1.066, allocations: 0.7958 MB / 1.024 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/1.066, allocations: 288.5 kB / 1.024 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006627/1.073, allocations: 4.425 MB / 1.029 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.073, allocations: 36 kB / 1.029 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.073, allocations: 0 / 1.029 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005041/1.078, allocations: 3.788 MB / 1.032 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/1.09, allocations: 8.622 MB / 1.041 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.09, allocations: 4 kB / 1.041 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003029/1.093, allocations: 0.7363 MB / 1.041 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/1.093, allocations: 16 kB / 1.041 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/1.094, allocations: 79.98 kB / 1.041 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/1.094, allocations: 19.98 kB / 1.041 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.094, allocations: 7.094 kB / 1.042 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008728/1.102, allocations: 6.82 MB / 1.048 GB, free: 3.547 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.104, allocations: 0.801 MB / 1.049 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/1.104, allocations: 71.98 kB / 1.049 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/1.106, allocations: 263.5 kB / 1.049 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004177/1.107, allocations: 233.6 kB / 1.049 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.107, allocations: 116 kB / 1.05 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001375/1.108, allocations: 1.157 MB / 1.051 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/1.108, allocations: 0 / 1.051 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002254/1.111, allocations: 1.232 MB / 1.052 GB, free: 15.64 MB / 0.7794 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.009441/1.12, allocations: 7.75 MB / 1.059 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005346/1.125, allocations: 3.933 MB / 1.063 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.125, allocations: 0 / 1.063 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002676/1.128, allocations: 2.157 MB / 1.065 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005898/1.134, allocations: 1.529 MB / 1.067 GB, free: 412 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0384/1.172, allocations: 30.12 MB / 1.096 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/1.174, allocations: 2.201 MB / 1.099 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003663/1.178, allocations: 1.197 MB / 1.1 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/1.18, allocations: 1.386 MB / 1.101 GB, free: 12 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/1.18, allocations: 4 kB / 1.101 GB, free: 12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.021/2.2, allocations: 82 MB / 1.181 GB, free: 423.8 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/2.2, allocations: 232.6 kB / 1.181 GB, free: 423.5 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.871/6.071, allocations: 3.969 kB / 1.181 GB, free: 423.5 MB / 0.8887 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/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)