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.004744/0.004744, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001288/0.001288, allocations: 202 kB / 16.68 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9677/0.9677, allocations: 135.2 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 59.91 kB / 0.5852 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3647, allocations: 80.94 MB / 0.6642 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6731/1.038, allocations: 314.1 MB / 0.971 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02493/1.063, allocations: 18.43 MB / 0.989 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004337/1.067, allocations: 86.09 kB / 0.9891 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004914/1.072, allocations: 2.153 MB / 0.9912 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01802/1.09, allocations: 7.306 MB / 0.9983 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009271/1.1, allocations: 3.23 MB / 1.001 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01145/1.111, allocations: 9.089 MB / 1.01 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004424/1.115, allocations: 3.109 MB / 1.013 GB, free: 36 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006168/1.122, allocations: 3.328 MB / 1.017 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005706/1.127, allocations: 3.228 MB / 1.02 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000709/1.128, allocations: 404 kB / 1.02 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01412/1.142, allocations: 7.001 MB / 1.027 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002197/1.144, allocations: 1.685 MB / 1.029 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003683/1.148, allocations: 2.303 MB / 1.031 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01991/1.168, allocations: 8.226 MB / 1.039 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.168, allocations: 7.938 kB / 1.039 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.734e-06/1.168, allocations: 0 / 1.039 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002457/1.168, allocations: 0 / 1.039 GB, free: 7.711 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.01471/1.183, allocations: 5.123 MB / 1.044 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.183, allocations: 8.031 kB / 1.044 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007743/1.184, allocations: 461.4 kB / 1.044 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006981/1.191, allocations: 1.027 MB / 1.045 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005159/1.196, allocations: 2.257 MB / 1.048 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/1.196, allocations: 248.6 kB / 1.048 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006268/1.197, allocations: 329.6 kB / 1.048 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007991/1.205, allocations: 4.239 MB / 1.052 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.767e-05/1.205, allocations: 7.891 kB / 1.052 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/1.205, allocations: 142.7 kB / 1.052 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002108/1.206, allocations: 166.4 kB / 1.053 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009415/1.215, allocations: 4.772 MB / 1.057 GB, free: 4.824 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.02299/1.238, allocations: 14.44 MB / 1.071 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007051/1.245, allocations: 4.548 MB / 1.076 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004166/1.249, allocations: 2.454 MB / 1.078 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/1.251, allocations: 1.622 MB / 1.08 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.768e-05/1.252, allocations: 73.64 kB / 1.08 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=392): time 5.17e-06/1.252, allocations: 0 / 1.08 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=392): time 0.01012/1.262, allocations: 5.545 MB / 1.085 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/1.262, allocations: 94.48 kB / 1.085 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/1.264, allocations: 1.68 MB / 1.087 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002858/1.265, allocations: 93.7 kB / 1.087 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.266, allocations: 1.153 MB / 1.088 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/1.267, allocations: 1.394 MB / 1.09 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009413/1.268, allocations: 0.5509 MB / 1.09 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.268, allocations: 301.1 kB / 1.09 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/1.271, allocations: 1.556 MB / 1.092 GB, free: 112 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/1.274, allocations: 1.944 MB / 1.094 GB, free: 14.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006307/1.281, allocations: 3.766 MB / 1.097 GB, free: 10.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.281, allocations: 4 kB / 1.097 GB, free: 10.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007715/1.288, allocations: 4.175 MB / 1.102 GB, free: 6.031 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/1.288, allocations: 16.02 kB / 1.102 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.288, allocations: 4 kB / 1.102 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/1.288, allocations: 27.88 kB / 1.102 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/1.292, allocations: 0.6943 MB / 1.102 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.935e-05/1.292, allocations: 19.94 kB / 1.102 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/1.294, allocations: 275.4 kB / 1.103 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/1.295, allocations: 116 kB / 1.103 GB, free: 4.887 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.001639/1.296, allocations: 0.7976 MB / 1.103 GB, free: 4.078 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007251/1.297, allocations: 310.1 kB / 1.104 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008529/1.305, allocations: 4.41 MB / 1.108 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.111e-05/1.306, allocations: 39.94 kB / 1.108 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/1.306, allocations: 3.984 kB / 1.108 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006528/1.312, allocations: 3.784 MB / 1.112 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/1.327, allocations: 8.635 MB / 1.12 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.327, allocations: 4 kB / 1.12 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003555/1.331, allocations: 0.7256 MB / 1.121 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.789e-05/1.331, allocations: 16.16 kB / 1.121 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/1.331, allocations: 91.98 kB / 1.121 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-05/1.331, allocations: 19.98 kB / 1.121 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/1.331, allocations: 4 kB / 1.121 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.342, allocations: 6.847 MB / 1.128 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/1.344, allocations: 0.8068 MB / 1.129 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004103/1.344, allocations: 68 kB / 1.129 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/1.346, allocations: 93.02 kB / 1.129 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004693/1.347, allocations: 242.5 kB / 1.129 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/1.347, allocations: 112 kB / 1.129 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001711/1.349, allocations: 1.157 MB / 1.13 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/1.349, allocations: 0 / 1.13 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002636/1.351, allocations: 1.233 MB / 1.131 GB, free: 7.184 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.01201/1.363, allocations: 7.76 MB / 1.139 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006771/1.37, allocations: 3.948 MB / 1.143 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.37, allocations: 0 / 1.143 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00339/1.373, allocations: 2.152 MB / 1.145 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006688/1.38, allocations: 1.607 MB / 1.146 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03897/1.419, allocations: 25.75 MB / 1.172 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/1.421, allocations: 2.209 MB / 1.174 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003703/1.425, allocations: 1.2 MB / 1.175 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002343/1.427, allocations: 1.382 MB / 1.176 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of SimCode: time 1.083e-06/1.427, allocations: 0 / 1.176 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.429/1.856, allocations: 85.67 MB / 1.26 GB, free: 346.9 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/17.35, allocations: 12.53 kB / 1.26 GB, free: 346.9 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)