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.009849/0.009849, allocations: 100.9 kB / 15.73 MB, free: 6 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.002385/0.002385, allocations: 189.5 kB / 16.67 MB, free: 5.934 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.575/1.575, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8644/0.8644, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 64.67 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1877, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7162/0.9039, allocations: 314.1 MB / 0.966 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03265/0.9366, allocations: 18.43 MB / 0.984 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006271/0.9429, allocations: 87.56 kB / 0.984 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00664/0.9496, allocations: 2.148 MB / 0.9861 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02059/0.9703, allocations: 7.302 MB / 0.9933 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01073/0.9811, allocations: 3.221 MB / 0.9964 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01424/0.9953, allocations: 9.108 MB / 1.005 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006188/1.002, allocations: 3.105 MB / 1.008 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007932/1.01, allocations: 3.317 MB / 1.012 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007629/1.017, allocations: 3.235 MB / 1.015 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002479/1.02, allocations: 404 kB / 1.015 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01774/1.037, allocations: 6.999 MB / 1.022 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003199/1.041, allocations: 1.695 MB / 1.024 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005496/1.046, allocations: 2.299 MB / 1.026 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01889/1.065, allocations: 8.224 MB / 1.034 GB, free: 488 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.065, allocations: 0 / 1.034 GB, free: 488 kB / 0.7481 GB Notification: Performance of FrontEnd: time 3.697e-06/1.065, allocations: 4 kB / 1.034 GB, free: 484 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002253/1.065, allocations: 0 / 1.034 GB, free: 484 kB / 0.7481 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.01543/1.081, allocations: 5.126 MB / 1.039 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.081, allocations: 8.031 kB / 1.039 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009099/1.082, allocations: 471.5 kB / 1.039 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007137/1.089, allocations: 1.024 MB / 1.04 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/1.095, allocations: 2.261 MB / 1.043 GB, free: 7.445 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/1.095, allocations: 246.4 kB / 1.043 GB, free: 7.203 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006392/1.095, allocations: 327.9 kB / 1.043 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008871/1.104, allocations: 4.228 MB / 1.047 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.046e-05/1.105, allocations: 15.95 kB / 1.047 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003988/1.105, allocations: 132 kB / 1.047 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002016/1.105, allocations: 166.4 kB / 1.048 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008973/1.114, allocations: 4.772 MB / 1.052 GB, free: 13.48 MB / 0.7794 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.02394/1.138, allocations: 14.44 MB / 1.066 GB, free: 14.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006724/1.145, allocations: 4.542 MB / 1.071 GB, free: 9.531 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004173/1.149, allocations: 2.459 MB / 1.073 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/1.151, allocations: 1.608 MB / 1.075 GB, free: 5.129 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.503e-05/1.151, allocations: 80.45 kB / 1.075 GB, free: 5.043 MB / 0.795 GB Notification: Performance of pre-optimization done (n=392): time 5.651e-06/1.151, allocations: 0 / 1.075 GB, free: 5.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=392): time 0.01113/1.162, allocations: 5.545 MB / 1.08 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.162, allocations: 98.47 kB / 1.08 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/1.165, allocations: 1.672 MB / 1.082 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0005868/1.166, allocations: 93.7 kB / 1.082 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/1.167, allocations: 1.165 MB / 1.083 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001858/1.169, allocations: 1.39 MB / 1.085 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/1.17, allocations: 0.547 MB / 1.085 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.17, allocations: 305.1 kB / 1.085 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/1.173, allocations: 1.564 MB / 1.087 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003787/1.177, allocations: 1.935 MB / 1.089 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007387/1.184, allocations: 3.766 MB / 1.092 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/1.184, allocations: 4 kB / 1.092 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01188/1.196, allocations: 4.19 MB / 1.097 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/1.196, allocations: 8 kB / 1.097 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.196, allocations: 4 kB / 1.097 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-05/1.196, allocations: 20 kB / 1.097 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/1.201, allocations: 0.6947 MB / 1.097 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-05/1.201, allocations: 24 kB / 1.097 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/1.206, allocations: 266 kB / 1.098 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/1.206, allocations: 123.9 kB / 1.098 GB, free: 13.34 MB / 0.8262 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.00226/1.208, allocations: 0.8015 MB / 1.098 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.21, allocations: 310 kB / 1.099 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00866/1.218, allocations: 4.411 MB / 1.103 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-05/1.218, allocations: 36 kB / 1.103 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.218, allocations: 0 / 1.103 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006231/1.225, allocations: 3.799 MB / 1.107 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/1.242, allocations: 8.625 MB / 1.115 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/1.242, allocations: 4 kB / 1.115 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003878/1.246, allocations: 0.7299 MB / 1.116 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-05/1.246, allocations: 19.94 kB / 1.116 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003955/1.246, allocations: 83.97 kB / 1.116 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.233e-05/1.246, allocations: 19.94 kB / 1.116 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.246, allocations: 4 kB / 1.116 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.258, allocations: 6.839 MB / 1.123 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/1.26, allocations: 0.8107 MB / 1.123 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00077/1.261, allocations: 75.94 kB / 1.124 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/1.264, allocations: 95.98 kB / 1.124 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005712/1.264, allocations: 226.7 kB / 1.124 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/1.264, allocations: 116 kB / 1.124 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002058/1.267, allocations: 1.149 MB / 1.125 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/1.267, allocations: 8 kB / 1.125 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004127/1.271, allocations: 1.233 MB / 1.126 GB, free: 15.54 MB / 0.8575 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.01299/1.284, allocations: 7.768 MB / 1.134 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008091/1.292, allocations: 3.947 MB / 1.138 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.292, allocations: 4 kB / 1.138 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004079/1.296, allocations: 2.154 MB / 1.14 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00834/1.304, allocations: 1.595 MB / 1.141 GB, free: 44 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3697/1.674, allocations: 25.75 MB / 1.167 GB, free: 350.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/1.676, allocations: 2.209 MB / 1.169 GB, free: 349.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003738/1.68, allocations: 1.196 MB / 1.17 GB, free: 349.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/1.681, allocations: 1.382 MB / 1.171 GB, free: 348.6 MB / 0.8575 GB Notification: Performance of SimCode: time 9.01e-07/1.681, allocations: 0 / 1.171 GB, free: 348.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/1.799, allocations: 85.68 MB / 1.255 GB, free: 267.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/16.76, allocations: 4.641 kB / 1.255 GB, free: 267.2 MB / 0.8575 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)