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.0007588/0.0007589, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008548/0.0008548, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7629/0.7629, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 8 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5077, allocations: 81.58 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6293/1.137, allocations: 287.1 MB / 0.8635 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02232/1.159, allocations: 17.32 MB / 0.8804 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004046/1.164, allocations: 75.03 kB / 0.8805 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004516/1.168, allocations: 1.402 MB / 0.8819 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01596/1.184, allocations: 5.326 MB / 0.8871 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008621/1.193, allocations: 2.242 MB / 0.8892 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01373/1.206, allocations: 10.97 MB / 0.9 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004747/1.211, allocations: 2.38 MB / 0.9023 GB, free: 23.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006575/1.218, allocations: 2.868 MB / 0.9051 GB, free: 22.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005923/1.224, allocations: 3.151 MB / 0.9082 GB, free: 22.24 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008905/1.225, allocations: 196.4 kB / 0.9084 GB, free: 22.24 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.012/1.237, allocations: 3.481 MB / 0.9118 GB, free: 21.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003177/1.24, allocations: 1.465 MB / 0.9132 GB, free: 21.1 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00327/1.243, allocations: 0.8097 MB / 0.914 GB, free: 21.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01045/1.254, allocations: 5.392 MB / 0.9192 GB, free: 18.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.254, allocations: 0 / 0.9192 GB, free: 18.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.725e-06/1.254, allocations: 1.969 kB / 0.9192 GB, free: 18.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002586/1.254, allocations: 0 / 0.9192 GB, free: 18.48 MB / 0.6544 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.01399/1.268, allocations: 4.359 MB / 0.9235 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.268, allocations: 12.34 kB / 0.9235 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001225/1.269, allocations: 456 kB / 0.9239 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006609/1.276, allocations: 1.005 MB / 0.9249 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004702/1.281, allocations: 2.091 MB / 0.927 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/1.281, allocations: 251.5 kB / 0.9272 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009689/1.282, allocations: 327.5 kB / 0.9275 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007476/1.289, allocations: 4.202 MB / 0.9316 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.487e-05/1.289, allocations: 18.45 kB / 0.9316 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/1.29, allocations: 133 kB / 0.9318 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/1.29, allocations: 170.7 kB / 0.9319 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007458/1.297, allocations: 4.741 MB / 0.9366 GB, free: 9.566 MB / 0.6544 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.01859/1.316, allocations: 14.38 MB / 0.9506 GB, free: 13.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/1.322, allocations: 4.508 MB / 0.955 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003255/1.325, allocations: 2.435 MB / 0.9574 GB, free: 9.09 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/1.327, allocations: 1.615 MB / 0.959 GB, free: 7.164 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.388e-05/1.327, allocations: 85.23 kB / 0.959 GB, free: 7.102 MB / 0.67 GB Notification: Performance of pre-optimization done (n=392): time 5.541e-06/1.327, allocations: 0 / 0.959 GB, free: 7.102 MB / 0.67 GB Notification: Performance of matching and sorting (n=392): time 0.008914/1.336, allocations: 5.496 MB / 0.9644 GB, free: 3.359 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/1.336, allocations: 94.44 kB / 0.9645 GB, free: 3.254 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/1.338, allocations: 1.669 MB / 0.9661 GB, free: 1.98 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003277/1.339, allocations: 100 kB / 0.9662 GB, free: 1.93 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008186/1.339, allocations: 1.131 MB / 0.9673 GB, free: 1.238 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.341, allocations: 1.321 MB / 0.9686 GB, free: 104 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/1.341, allocations: 65.62 kB / 0.9687 GB, free: 92 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002204/1.341, allocations: 441.1 kB / 0.9691 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/1.343, allocations: 1.549 MB / 0.9706 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/1.346, allocations: 1.93 MB / 0.9725 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002812/1.349, allocations: 1.825 MB / 0.9743 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/1.349, allocations: 0 / 0.9743 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006617/1.356, allocations: 4.149 MB / 0.9783 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/1.356, allocations: 4 kB / 0.9783 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/1.356, allocations: 8.656 kB / 0.9783 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.805e-05/1.356, allocations: 20 kB / 0.9784 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/1.359, allocations: 0.6948 MB / 0.979 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.625e-05/1.359, allocations: 23.56 kB / 0.9791 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/1.362, allocations: 438.4 kB / 0.9795 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/1.362, allocations: 115.5 kB / 0.9796 GB, free: 8.266 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001553/1.364, allocations: 0.7978 MB / 0.9804 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006148/1.364, allocations: 292.5 kB / 0.9806 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006828/1.371, allocations: 4.396 MB / 0.9849 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/1.371, allocations: 39.98 kB / 0.985 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.371, allocations: 0 / 0.985 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005167/1.376, allocations: 3.775 MB / 0.9887 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/1.391, allocations: 8.592 MB / 0.9971 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.391, allocations: 0 / 0.9971 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/1.394, allocations: 0.7282 MB / 0.9978 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.318e-05/1.394, allocations: 16 kB / 0.9978 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/1.394, allocations: 89.03 kB / 0.9979 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.258e-05/1.394, allocations: 23.36 kB / 0.9979 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.394, allocations: 4 kB / 0.9979 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00981/1.404, allocations: 6.797 MB / 1.005 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/1.406, allocations: 0.7947 MB / 1.005 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005202/1.407, allocations: 74.81 kB / 1.005 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/1.409, allocations: 261 kB / 1.006 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/1.41, allocations: 241.5 kB / 1.006 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.41, allocations: 118.8 kB / 1.006 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001802/1.412, allocations: 1.139 MB / 1.007 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/1.412, allocations: 0 / 1.007 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003244/1.415, allocations: 1.232 MB / 1.008 GB, free: 3.723 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01075/1.426, allocations: 7.717 MB / 1.016 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006181/1.432, allocations: 3.905 MB / 1.02 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.432, allocations: 2.938 kB / 1.02 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002984/1.435, allocations: 2.139 MB / 1.022 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00689/1.442, allocations: 1.54 MB / 1.023 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03848/1.48, allocations: 23.12 MB / 1.046 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/1.482, allocations: 2.197 MB / 1.048 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004724/1.487, allocations: 1.2 MB / 1.049 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002423/1.49, allocations: 1.39 MB / 1.05 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of SimCode: time 9.82e-07/1.49, allocations: 0 / 1.05 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4744/1.964, allocations: 84.79 MB / 1.133 GB, free: 354 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/1.964, allocations: 217.5 kB / 1.133 GB, free: 353.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.932/5.896, allocations: 4 kB / 1.134 GB, free: 353.8 MB / 0.795 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/linux/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) Environment - environmentSimulation: