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.001768/0.001768, 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.001759/0.001759, allocations: 188 kB / 16.25 MB, free: 6.625 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.055/1.055, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7346/0.7346, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 63.31 kB / 0.5049 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1153, allocations: 80.93 MB / 0.584 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6755/0.7908, allocations: 310.5 MB / 0.8872 GB, free: 1.41 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01726/0.8081, allocations: 18.35 MB / 0.9051 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.8103, allocations: 77.28 kB / 0.9052 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00351/0.8138, allocations: 1.933 MB / 0.9071 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.8263, allocations: 6.877 MB / 0.9138 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00567/0.832, allocations: 2.963 MB / 0.9167 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00847/0.8404, allocations: 9.098 MB / 0.9256 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.8436, allocations: 3.061 MB / 0.9286 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.8479, allocations: 3.36 MB / 0.9319 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003346/0.8512, allocations: 3.439 MB / 0.9352 GB, free: 16.37 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003723/0.8516, allocations: 404 kB / 0.9356 GB, free: 16.37 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009509/0.8611, allocations: 7.299 MB / 0.9427 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.8622, allocations: 1.679 MB / 0.9444 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001782/0.864, allocations: 2.302 MB / 0.9466 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00868/0.8727, allocations: 8.649 MB / 0.9551 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.8727, allocations: 0 / 0.9551 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8727, allocations: 0 / 0.9551 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.543e-05/0.8727, allocations: 3.938 kB / 0.9551 GB, free: 12.95 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.008884/0.8816, allocations: 4.995 MB / 0.96 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.8816, allocations: 9.781 kB / 0.96 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004069/0.8821, allocations: 465.5 kB / 0.9604 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/0.8872, allocations: 1.008 MB / 0.9614 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.8896, allocations: 2.166 MB / 0.9635 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.8898, allocations: 239.6 kB / 0.9637 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.8901, allocations: 330.1 kB / 0.9641 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005161/0.8953, allocations: 4.237 MB / 0.9682 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/0.8953, allocations: 13.77 kB / 0.9682 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.8956, allocations: 133.9 kB / 0.9683 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.8957, allocations: 171.6 kB / 0.9685 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006022/0.9018, allocations: 4.769 MB / 0.9732 GB, free: 1.215 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.01355/0.9153, allocations: 14.34 MB / 0.9872 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004745/0.9201, allocations: 4.545 MB / 0.9916 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002758/0.9228, allocations: 2.445 MB / 0.994 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.9242, allocations: 1.609 MB / 0.9956 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.9243, allocations: 81.58 kB / 0.9956 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 4.187e-06/0.9243, allocations: 0 / 0.9956 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.007131/0.9314, allocations: 5.53 MB / 1.001 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.9315, allocations: 90.48 kB / 1.001 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.9332, allocations: 1.689 MB / 1.003 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.9334, allocations: 93.7 kB / 1.003 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.934, allocations: 1.138 MB / 1.004 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008222/0.9348, allocations: 1.316 MB / 1.005 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007118/0.9355, allocations: 0.5507 MB / 1.006 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.9356, allocations: 305.1 kB / 1.006 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.9376, allocations: 1.56 MB / 1.008 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.9399, allocations: 1.937 MB / 1.01 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.9444, allocations: 3.772 MB / 1.013 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.9444, allocations: 0 / 1.013 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005238/0.9497, allocations: 4.172 MB / 1.017 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.9497, allocations: 8.062 kB / 1.017 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9497, allocations: 12 kB / 1.017 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.9497, allocations: 16 kB / 1.017 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.9522, allocations: 0.6998 MB / 1.018 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/0.9522, allocations: 20 kB / 1.018 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.9546, allocations: 434.3 kB / 1.018 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.9548, allocations: 116 kB / 1.019 GB, free: 1.625 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.0009794/0.9557, allocations: 0.7949 MB / 1.019 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/0.9562, allocations: 296.5 kB / 1.02 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/0.962, allocations: 4.421 MB / 1.024 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.962, allocations: 36 kB / 1.024 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.962, allocations: 0 / 1.024 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004465/0.9665, allocations: 3.787 MB / 1.028 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.9768, allocations: 8.624 MB / 1.036 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.9768, allocations: 0 / 1.036 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002733/0.9795, allocations: 0.7317 MB / 1.037 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.9796, allocations: 16 kB / 1.037 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.9797, allocations: 95.91 kB / 1.037 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/0.9798, allocations: 18.16 kB / 1.037 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9798, allocations: 4 kB / 1.037 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007715/0.9875, allocations: 6.824 MB / 1.044 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.9885, allocations: 0.8011 MB / 1.044 GB, free: 7 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000344/0.9889, allocations: 71.94 kB / 1.044 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/0.9909, allocations: 270.3 kB / 1.045 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/0.9913, allocations: 233.8 kB / 1.045 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/0.9915, allocations: 116 kB / 1.045 GB, free: 6.328 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001192/0.9926, allocations: 1.149 MB / 1.046 GB, free: 5.156 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9927, allocations: 0 / 1.046 GB, free: 5.156 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001879/0.9945, allocations: 1.232 MB / 1.047 GB, free: 3.922 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.008505/1.003, allocations: 7.745 MB / 1.055 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01704/1.02, allocations: 9.845 MB / 1.065 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.02, allocations: 0 / 1.065 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.022, allocations: 2.153 MB / 1.067 GB, free: 312 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005024/1.028, allocations: 1.611 MB / 1.068 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03348/1.061, allocations: 30.12 MB / 1.098 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.062, allocations: 2.209 MB / 1.1 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003152/1.066, allocations: 1.199 MB / 1.101 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/1.067, allocations: 1.39 MB / 1.102 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/1.067, allocations: 4 kB / 1.102 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2777/1.345, allocations: 84.41 MB / 1.185 GB, free: 428.7 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/1.345, allocations: 241.9 kB / 1.185 GB, free: 428.5 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.297/4.642, allocations: 0 / 1.185 GB, free: 428.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)