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.001126/0.001126, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001148/0.001148, allocations: 191 kB / 16.25 MB, free: 6.617 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.169/1.169, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6618/0.6618, allocations: 132.2 MB / 422.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 59.09 kB / 0.5013 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2989, allocations: 80.2 MB / 0.5797 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5034/0.8024, allocations: 310.5 MB / 0.8829 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.8213, allocations: 18.35 MB / 0.9009 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.824, allocations: 78.88 kB / 0.9009 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003795/0.8278, allocations: 1.927 MB / 0.9028 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.8403, allocations: 6.881 MB / 0.9095 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005754/0.846, allocations: 2.967 MB / 0.9124 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007325/0.8534, allocations: 9.093 MB / 0.9213 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.8562, allocations: 3.064 MB / 0.9243 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/0.8603, allocations: 3.368 MB / 0.9276 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003872/0.8641, allocations: 3.441 MB / 0.931 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004116/0.8646, allocations: 402.1 kB / 0.9313 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.8753, allocations: 7.294 MB / 0.9385 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/0.8767, allocations: 1.689 MB / 0.9401 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.8788, allocations: 2.3 MB / 0.9424 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009646/0.8885, allocations: 8.646 MB / 0.9508 GB, free: 12.55 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8885, allocations: 0 / 0.9508 GB, free: 12.55 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8885, allocations: 0 / 0.9508 GB, free: 12.55 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.409e-05/0.8886, allocations: 0 / 0.9508 GB, free: 12.55 MB / 0.67 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.01/0.8986, allocations: 4.997 MB / 0.9557 GB, free: 7.531 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.8986, allocations: 8.031 kB / 0.9557 GB, free: 7.523 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004728/0.8991, allocations: 461.1 kB / 0.9561 GB, free: 7.066 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005752/0.9049, allocations: 1.008 MB / 0.9571 GB, free: 6.059 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.9078, allocations: 2.165 MB / 0.9592 GB, free: 3.965 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.9079, allocations: 245.8 kB / 0.9595 GB, free: 3.727 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/0.9083, allocations: 324.1 kB / 0.9598 GB, free: 3.414 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005887/0.9142, allocations: 4.238 MB / 0.9639 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.308e-05/0.9143, allocations: 7.891 kB / 0.9639 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/0.9146, allocations: 138.5 kB / 0.9641 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.9147, allocations: 163.7 kB / 0.9642 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006492/0.9212, allocations: 4.775 MB / 0.9689 GB, free: 10.04 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.01466/0.9359, allocations: 14.34 MB / 0.9829 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005152/0.9411, allocations: 4.542 MB / 0.9873 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/0.9442, allocations: 2.447 MB / 0.9897 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/0.9457, allocations: 1.613 MB / 0.9913 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.9457, allocations: 75.41 kB / 0.9913 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=392): time 6.933e-06/0.9458, allocations: 0 / 0.9913 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of matching and sorting (n=392): time 0.007727/0.9535, allocations: 5.538 MB / 0.9968 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.9535, allocations: 90.48 kB / 0.9968 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.9553, allocations: 1.684 MB / 0.9985 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.9555, allocations: 93.7 kB / 0.9986 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006363/0.9562, allocations: 1.134 MB / 0.9997 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000848/0.957, allocations: 1.324 MB / 1.001 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000751/0.9578, allocations: 0.5468 MB / 1.002 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.9579, allocations: 309.1 kB / 1.002 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.96, allocations: 1.56 MB / 1.003 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.9624, allocations: 1.939 MB / 1.005 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/0.9673, allocations: 3.764 MB / 1.009 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.9673, allocations: 4 kB / 1.009 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005605/0.9729, allocations: 4.168 MB / 1.013 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.9729, allocations: 14.12 kB / 1.013 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.9729, allocations: 4 kB / 1.013 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.973, allocations: 20 kB / 1.013 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/0.9757, allocations: 0.6909 MB / 1.014 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/0.9757, allocations: 20 kB / 1.014 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/0.9782, allocations: 438.8 kB / 1.014 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.9785, allocations: 116 kB / 1.014 GB, free: 10.4 MB / 0.7325 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.001063/0.9795, allocations: 0.7946 MB / 1.015 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004236/0.98, allocations: 296.5 kB / 1.015 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006165/0.9861, allocations: 4.421 MB / 1.02 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.9862, allocations: 40 kB / 1.02 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.9862, allocations: 4 kB / 1.02 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00483/0.991, allocations: 3.784 MB / 1.023 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.002, allocations: 8.628 MB / 1.032 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/1.002, allocations: 4 kB / 1.032 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/1.005, allocations: 0.7336 MB / 1.032 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.579e-05/1.005, allocations: 16 kB / 1.033 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/1.006, allocations: 95.91 kB / 1.033 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.37e-05/1.006, allocations: 16 kB / 1.033 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.006, allocations: 2.906 kB / 1.033 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008237/1.014, allocations: 6.819 MB / 1.039 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.015, allocations: 0.803 MB / 1.04 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/1.015, allocations: 71.94 kB / 1.04 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.018, allocations: 268.9 kB / 1.04 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003926/1.018, allocations: 237.6 kB / 1.041 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/1.018, allocations: 108 kB / 1.041 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001272/1.019, allocations: 1.157 MB / 1.042 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.019, allocations: 0 / 1.042 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001977/1.021, allocations: 1.224 MB / 1.043 GB, free: 12.69 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.009069/1.031, allocations: 7.747 MB / 1.051 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01864/1.049, allocations: 9.838 MB / 1.06 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.049, allocations: 4 kB / 1.06 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002524/1.052, allocations: 2.152 MB / 1.062 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/1.057, allocations: 1.608 MB / 1.064 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/1.093, allocations: 30.14 MB / 1.093 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/1.094, allocations: 2.205 MB / 1.095 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003436/1.098, allocations: 1.189 MB / 1.097 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/1.1, allocations: 1.394 MB / 1.098 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of SimCode: time 5.62e-07/1.1, allocations: 0 / 1.098 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.775/5.874, allocations: 84.4 MB / 1.18 GB, free: 355.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/5.874, allocations: 240 kB / 1.181 GB, free: 355.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/20.06, allocations: 0 / 1.181 GB, free: 355.6 MB / 0.8262 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)