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.005707/0.005707, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001137/0.001137, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9491/0.9491, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.09 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4339, allocations: 80.92 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7413/1.175, allocations: 314.1 MB / 0.9709 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02609/1.201, allocations: 18.43 MB / 0.9889 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005032/1.206, allocations: 88.34 kB / 0.989 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005963/1.212, allocations: 2.246 MB / 0.9912 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0207/1.233, allocations: 7.535 MB / 0.9986 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.011/1.244, allocations: 3.256 MB / 1.002 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01689/1.261, allocations: 9.113 MB / 1.011 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005568/1.267, allocations: 3.113 MB / 1.014 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008005/1.275, allocations: 3.418 MB / 1.017 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007143/1.282, allocations: 3.217 MB / 1.02 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001653/1.284, allocations: 404 kB / 1.021 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/1.303, allocations: 7.034 MB / 1.027 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003244/1.306, allocations: 1.686 MB / 1.029 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005568/1.311, allocations: 2.305 MB / 1.031 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02057/1.332, allocations: 8.2 MB / 1.039 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/1.332, allocations: 0 / 1.039 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.324e-06/1.332, allocations: 0 / 1.039 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002618/1.332, allocations: 0 / 1.039 GB, free: 7.289 MB / 0.7325 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.01761/1.35, allocations: 4.994 MB / 1.044 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.35, allocations: 12.03 kB / 1.044 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001207/1.351, allocations: 459 kB / 1.045 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007707/1.359, allocations: 1.012 MB / 1.046 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005443/1.364, allocations: 2.236 MB / 1.048 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/1.365, allocations: 246.5 kB / 1.048 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/1.366, allocations: 333.4 kB / 1.048 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009066/1.375, allocations: 4.24 MB / 1.053 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-05/1.375, allocations: 11.84 kB / 1.053 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/1.376, allocations: 141.3 kB / 1.053 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/1.376, allocations: 166.4 kB / 1.053 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008871/1.385, allocations: 4.772 MB / 1.057 GB, free: 4.566 MB / 0.7481 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.02324/1.408, allocations: 14.41 MB / 1.072 GB, free: 5.348 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006916/1.415, allocations: 4.544 MB / 1.076 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004125/1.419, allocations: 2.458 MB / 1.078 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/1.421, allocations: 1.606 MB / 1.08 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.665e-05/1.421, allocations: 77.58 kB / 1.08 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=392): time 8.476e-06/1.421, allocations: 0 / 1.08 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=392): time 0.01166/1.433, allocations: 5.535 MB / 1.085 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/1.433, allocations: 94.42 kB / 1.086 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/1.436, allocations: 1.688 MB / 1.087 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000764/1.437, allocations: 93.7 kB / 1.087 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/1.438, allocations: 1.132 MB / 1.088 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.00196/1.44, allocations: 1.317 MB / 1.09 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/1.441, allocations: 0.5546 MB / 1.09 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/1.441, allocations: 305.1 kB / 1.09 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/1.444, allocations: 1.556 MB / 1.092 GB, free: 15.97 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/1.447, allocations: 1.938 MB / 1.094 GB, free: 13.95 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006486/1.454, allocations: 3.762 MB / 1.098 GB, free: 10.11 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/1.454, allocations: 4 kB / 1.098 GB, free: 10.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00818/1.462, allocations: 4.165 MB / 1.102 GB, free: 5.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/1.462, allocations: 8 kB / 1.102 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/1.462, allocations: 4 kB / 1.102 GB, free: 5.898 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.536e-05/1.462, allocations: 20 kB / 1.102 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/1.465, allocations: 0.7027 MB / 1.102 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.652e-05/1.465, allocations: 27.92 kB / 1.102 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/1.468, allocations: 260.7 kB / 1.103 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004519/1.469, allocations: 119.9 kB / 1.103 GB, free: 4.777 MB / 0.795 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.001811/1.471, allocations: 0.799 MB / 1.104 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009627/1.472, allocations: 292.5 kB / 1.104 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008319/1.48, allocations: 4.417 MB / 1.108 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/1.48, allocations: 47.94 kB / 1.108 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.48, allocations: 3.938 kB / 1.108 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006185/1.486, allocations: 3.792 MB / 1.112 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/1.506, allocations: 8.633 MB / 1.12 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/1.506, allocations: 4 kB / 1.12 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003578/1.51, allocations: 0.7298 MB / 1.121 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.216e-05/1.51, allocations: 19.98 kB / 1.121 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004498/1.51, allocations: 83.98 kB / 1.121 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/1.51, allocations: 16 kB / 1.121 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.51, allocations: 0 / 1.121 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/1.522, allocations: 6.841 MB / 1.128 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002441/1.524, allocations: 0.7894 MB / 1.129 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006614/1.525, allocations: 75.98 kB / 1.129 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.527, allocations: 81.48 kB / 1.129 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005004/1.528, allocations: 238.5 kB / 1.129 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/1.528, allocations: 120 kB / 1.129 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001847/1.53, allocations: 1.149 MB / 1.13 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/1.53, allocations: 0 / 1.13 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003319/1.533, allocations: 1.236 MB / 1.131 GB, free: 7.105 MB / 0.8262 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.01298/1.546, allocations: 7.723 MB / 1.139 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007623/1.554, allocations: 3.951 MB / 1.143 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.554, allocations: 0 / 1.143 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003734/1.557, allocations: 2.158 MB / 1.145 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007917/1.565, allocations: 1.605 MB / 1.146 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04481/1.61, allocations: 25.64 MB / 1.172 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002371/1.613, allocations: 2.205 MB / 1.174 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.004611/1.617, allocations: 1.2 MB / 1.175 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002996/1.62, allocations: 1.39 MB / 1.176 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of SimCode: time 1.002e-06/1.62, allocations: 0 / 1.176 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4664/2.087, allocations: 85.66 MB / 1.26 GB, free: 347.2 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/16.63, allocations: 6.359 kB / 1.26 GB, free: 347.2 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)