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.001267/0.001267, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8745/0.8745, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 69.64 kB / 0.5055 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 80.91 MB / 0.5845 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7838/0.9126, allocations: 314.1 MB / 0.8912 GB, free: 1.441 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.9341, allocations: 18.42 MB / 0.9092 GB, free: 1.348 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.9369, allocations: 92.12 kB / 0.9093 GB, free: 1.348 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.9415, allocations: 2.146 MB / 0.9114 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01533/0.9568, allocations: 7.311 MB / 0.9185 GB, free: 1.008 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007195/0.964, allocations: 3.196 MB / 0.9217 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.9744, allocations: 9.093 MB / 0.9305 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003789/0.9782, allocations: 3.125 MB / 0.9336 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004943/0.9832, allocations: 3.311 MB / 0.9368 GB, free: 16.49 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.9871, allocations: 3.232 MB / 0.94 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005139/0.9876, allocations: 403.9 kB / 0.9404 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/0.9994, allocations: 6.991 MB / 0.9472 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001361/1.001, allocations: 1.693 MB / 0.9488 GB, free: 16.01 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002424/1.003, allocations: 2.305 MB / 0.9511 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/1.014, allocations: 8.133 MB / 0.959 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.014, allocations: 0 / 0.959 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.292e-06/1.014, allocations: 3.25 kB / 0.959 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.592e-05/1.014, allocations: 0 / 0.959 GB, free: 12.05 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.0108/1.025, allocations: 5 MB / 0.9639 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/1.025, allocations: 9.688 kB / 0.9639 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004772/1.026, allocations: 462.5 kB / 0.9644 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006193/1.032, allocations: 1.003 MB / 0.9653 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/1.035, allocations: 2.163 MB / 0.9675 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/1.035, allocations: 247.2 kB / 0.9677 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004468/1.036, allocations: 327.8 kB / 0.968 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00608/1.042, allocations: 4.232 MB / 0.9721 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.545e-05/1.042, allocations: 16.31 kB / 0.9722 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003071/1.042, allocations: 129.6 kB / 0.9723 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/1.042, allocations: 170.4 kB / 0.9724 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007139/1.049, allocations: 4.771 MB / 0.9771 GB, free: 14.29 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.01642/1.066, allocations: 14.5 MB / 0.9913 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005581/1.071, allocations: 4.554 MB / 0.9957 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003217/1.075, allocations: 2.441 MB / 0.9981 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/1.076, allocations: 1.609 MB / 0.9997 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/1.076, allocations: 77.64 kB / 0.9997 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.039e-06/1.076, allocations: 2.531 kB / 0.9997 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.008518/1.085, allocations: 5.531 MB / 1.005 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/1.085, allocations: 90.48 kB / 1.005 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/1.087, allocations: 1.682 MB / 1.007 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/1.087, allocations: 97.7 kB / 1.007 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/1.088, allocations: 1.136 MB / 1.008 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009839/1.089, allocations: 1.319 MB / 1.009 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000842/1.09, allocations: 0.5585 MB / 1.01 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/1.09, allocations: 301.1 kB / 1.01 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/1.092, allocations: 1.56 MB / 1.012 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/1.095, allocations: 1.933 MB / 1.014 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00576/1.101, allocations: 3.769 MB / 1.017 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/1.101, allocations: 3.938 kB / 1.017 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006647/1.107, allocations: 4.165 MB / 1.021 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.107, allocations: 10.19 kB / 1.021 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/1.107, allocations: 8.703 kB / 1.021 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/1.108, allocations: 20 kB / 1.021 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/1.11, allocations: 0.6957 MB / 1.022 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.406e-05/1.11, allocations: 22.61 kB / 1.022 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/1.113, allocations: 268 kB / 1.022 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/1.113, allocations: 116 kB / 1.022 GB, free: 14.7 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.00139/1.115, allocations: 0.8054 MB / 1.023 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000587/1.115, allocations: 292.5 kB / 1.024 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007297/1.123, allocations: 4.422 MB / 1.028 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/1.123, allocations: 36 kB / 1.028 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.123, allocations: 0 / 1.028 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00579/1.128, allocations: 3.788 MB / 1.032 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/1.142, allocations: 8.625 MB / 1.04 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.142, allocations: 320 / 1.04 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0033/1.145, allocations: 0.735 MB / 1.041 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.034e-05/1.145, allocations: 12 kB / 1.041 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/1.146, allocations: 87.97 kB / 1.041 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-05/1.146, allocations: 19.19 kB / 1.041 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.146, allocations: 12 kB / 1.041 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00974/1.155, allocations: 6.824 MB / 1.048 GB, free: 4.891 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/1.157, allocations: 0.7971 MB / 1.048 GB, free: 4.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006012/1.158, allocations: 72 kB / 1.048 GB, free: 4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/1.16, allocations: 79.97 kB / 1.048 GB, free: 3.922 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/1.16, allocations: 241.3 kB / 1.049 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.161, allocations: 112 kB / 1.049 GB, free: 3.578 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001796/1.162, allocations: 1.157 MB / 1.05 GB, free: 2.398 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.71e-07/1.162, allocations: 0 / 1.05 GB, free: 2.398 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002767/1.165, allocations: 1.228 MB / 1.051 GB, free: 1.168 MB / 0.7637 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.01053/1.176, allocations: 7.742 MB / 1.059 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02099/1.197, allocations: 9.842 MB / 1.068 GB, free: 15.63 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/1.197, allocations: 320 / 1.068 GB, free: 15.63 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003264/1.2, allocations: 2.161 MB / 1.07 GB, free: 13.55 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007714/1.208, allocations: 1.605 MB / 1.072 GB, free: 12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0409/1.249, allocations: 28.79 MB / 1.1 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/1.251, allocations: 2.193 MB / 1.102 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00418/1.255, allocations: 1.197 MB / 1.103 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002114/1.257, allocations: 1.386 MB / 1.105 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/1.257, allocations: 0 / 1.105 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4092/1.666, allocations: 84.92 MB / 1.188 GB, free: 430.4 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/12.14, allocations: 11.23 kB / 1.188 GB, free: 430.4 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)