Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.005308/0.005308, allocations: 97.3 kB / 15.73 MB, free: 6.055 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.00149/0.00149, allocations: 197.2 kB / 16.68 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7679/0.7679, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 59.91 kB / 0.5809 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3286, allocations: 80.21 MB / 0.6592 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5827/0.9113, allocations: 295.1 MB / 0.9474 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.9292, allocations: 16.99 MB / 0.964 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.9317, allocations: 78.38 kB / 0.964 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.9352, allocations: 1.893 MB / 0.9659 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.9472, allocations: 6.423 MB / 0.9721 GB, free: 420 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006002/0.9532, allocations: 2.947 MB / 0.975 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008087/0.9613, allocations: 7.703 MB / 0.9825 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0029/0.9642, allocations: 2.596 MB / 0.9851 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.9681, allocations: 2.777 MB / 0.9878 GB, free: 10 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003759/0.9719, allocations: 2.703 MB / 0.9904 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003954/0.9723, allocations: 328.6 kB / 0.9907 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.9832, allocations: 6.164 MB / 0.9968 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.9847, allocations: 1.34 MB / 0.9981 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.987, allocations: 1.886 MB / 0.9999 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.9973, allocations: 6.917 MB / 1.007 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.9974, allocations: 0 / 1.007 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9974, allocations: 0 / 1.007 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-05/0.9974, allocations: 4 kB / 1.007 GB, free: 11.27 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.009056/1.006, allocations: 4.229 MB / 1.011 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.007, allocations: 12.03 kB / 1.011 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004464/1.007, allocations: 370.5 kB / 1.011 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/1.013, allocations: 0.9361 MB / 1.012 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/1.016, allocations: 1.929 MB / 1.014 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/1.016, allocations: 199.7 kB / 1.014 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/1.016, allocations: 266.8 kB / 1.014 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005207/1.021, allocations: 3.329 MB / 1.018 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/1.022, allocations: 6.531 kB / 1.018 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/1.022, allocations: 108.2 kB / 1.018 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/1.022, allocations: 136 kB / 1.018 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005672/1.028, allocations: 3.491 MB / 1.021 GB, free: 12.22 MB / 0.7325 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.01424/1.042, allocations: 12.14 MB / 1.033 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/1.047, allocations: 3.492 MB / 1.037 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/1.049, allocations: 1.845 MB / 1.038 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.051, allocations: 1.499 MB / 1.04 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/1.051, allocations: 68.69 kB / 1.04 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=278): time 4.108e-06/1.051, allocations: 0 / 1.04 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of matching and sorting (n=278): time 0.006497/1.058, allocations: 3.885 MB / 1.044 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/1.058, allocations: 85.59 kB / 1.044 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/1.059, allocations: 1.376 MB / 1.045 GB, free: 2.715 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/1.06, allocations: 77.7 kB / 1.045 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007774/1.06, allocations: 1.002 MB / 1.046 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008117/1.061, allocations: 0.9909 MB / 1.047 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006358/1.062, allocations: 413 kB / 1.048 GB, free: 240 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.062, allocations: 301.1 kB / 1.048 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/1.064, allocations: 1.094 MB / 1.049 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/1.066, allocations: 1.383 MB / 1.05 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004042/1.07, allocations: 2.646 MB / 1.053 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.07, allocations: 0 / 1.053 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004769/1.075, allocations: 2.983 MB / 1.056 GB, free: 7.656 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.075, allocations: 4 kB / 1.056 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.075, allocations: 8 kB / 1.056 GB, free: 7.645 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/1.075, allocations: 12 kB / 1.056 GB, free: 7.633 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/1.077, allocations: 0.5119 MB / 1.056 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/1.077, allocations: 20 kB / 1.056 GB, free: 7.133 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/1.079, allocations: 192.2 kB / 1.056 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.079, allocations: 83.98 kB / 1.057 GB, free: 6.863 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001005/1.08, allocations: 0.644 MB / 1.057 GB, free: 6.238 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/1.08, allocations: 250.4 kB / 1.057 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005152/1.085, allocations: 3.1 MB / 1.06 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.085, allocations: 28 kB / 1.06 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/1.085, allocations: 3.984 kB / 1.06 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003994/1.089, allocations: 2.652 MB / 1.063 GB, free: 92 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009004/1.098, allocations: 6.195 MB / 1.069 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.098, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/1.101, allocations: 0.5554 MB / 1.07 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/1.101, allocations: 8 kB / 1.07 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/1.101, allocations: 59.98 kB / 1.07 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/1.101, allocations: 8 kB / 1.07 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.101, allocations: 0 / 1.07 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007006/1.108, allocations: 4.819 MB / 1.074 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009692/1.109, allocations: 0.616 MB / 1.075 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/1.109, allocations: 56 kB / 1.075 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.111, allocations: 61.47 kB / 1.075 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/1.111, allocations: 162 kB / 1.075 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.111, allocations: 83.97 kB / 1.075 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001263/1.113, allocations: 0.9461 MB / 1.076 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.113, allocations: 0 / 1.076 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001799/1.114, allocations: 0.9867 MB / 1.077 GB, free: 1.434 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (278): * Single equations (assignments): 278 * 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.007764/1.122, allocations: 5.642 MB / 1.083 GB, free: 11.75 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004223/1.126, allocations: 2.772 MB / 1.085 GB, free: 8.992 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.126, allocations: 5.125 kB / 1.085 GB, free: 8.988 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/1.129, allocations: 1.508 MB / 1.087 GB, free: 7.527 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005242/1.134, allocations: 1.357 MB / 1.088 GB, free: 6.234 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/1.161, allocations: 19.48 MB / 1.107 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/1.163, allocations: 1.903 MB / 1.109 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002499/1.165, allocations: 0.8358 MB / 1.11 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/1.167, allocations: 1.089 MB / 1.111 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/1.167, allocations: 0 / 1.111 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6852/1.852, allocations: 68.39 MB / 1.178 GB, free: 11 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/14.53, allocations: 3.938 kB / 1.178 GB, free: 10.99 MB / 0.8887 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)