Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_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.001925/0.001925, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 196.3 kB / 16.53 MB, free: 6.699 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.551/1.551, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002535/0.002536, allocations: 298.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 178.6 MB / 0.5073 GB, free: 4.602 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003906/0.003906, allocations: 92.84 kB / 0.6065 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1584, allocations: 89.14 MB / 0.6936 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5835/0.742, allocations: 314.1 MB / 1 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02821/0.7702, allocations: 18.46 MB / 1.018 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/0.7726, allocations: 87.56 kB / 1.018 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00476/0.7774, allocations: 2.148 MB / 1.021 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01634/0.7938, allocations: 7.318 MB / 1.028 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007535/0.8013, allocations: 3.206 MB / 1.031 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01081/0.8122, allocations: 9.1 MB / 1.04 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00412/0.8163, allocations: 3.114 MB / 1.043 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004933/0.8212, allocations: 3.302 MB / 1.046 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.337/1.158, allocations: 3.231 MB / 1.049 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/1.159, allocations: 402.9 kB / 1.05 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01275/1.172, allocations: 6.993 MB / 1.056 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001835/1.174, allocations: 1.685 MB / 1.058 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003166/1.177, allocations: 2.305 MB / 1.06 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01255/1.19, allocations: 8.134 MB / 1.068 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.19, allocations: 1.281 kB / 1.068 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.293e-06/1.19, allocations: 0.8125 kB / 1.068 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.762e-05/1.19, allocations: 0 / 1.068 GB, free: 13.2 MB / 0.7637 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.01219/1.202, allocations: 4.99 MB / 1.073 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.202, allocations: 9.656 kB / 1.073 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005505/1.203, allocations: 465.9 kB / 1.074 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006373/1.209, allocations: 1.007 MB / 1.075 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/1.212, allocations: 2.161 MB / 1.077 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/1.212, allocations: 247.6 kB / 1.077 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004607/1.213, allocations: 323.7 kB / 1.077 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005974/1.219, allocations: 4.241 MB / 1.081 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.307e-05/1.219, allocations: 14.2 kB / 1.081 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003287/1.219, allocations: 132.3 kB / 1.081 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/1.219, allocations: 171.1 kB / 1.082 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006657/1.226, allocations: 4.775 MB / 1.086 GB, free: 10.12 MB / 0.7637 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.0164/1.243, allocations: 14.53 MB / 1.1 GB, free: 19.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005096/1.248, allocations: 4.553 MB / 1.105 GB, free: 19.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/1.251, allocations: 2.449 MB / 1.107 GB, free: 19.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001904/1.253, allocations: 1.608 MB / 1.109 GB, free: 17.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/1.253, allocations: 74.95 kB / 1.109 GB, free: 17.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=392): time 5.341e-06/1.253, allocations: 0.8438 kB / 1.109 GB, free: 17.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=392): time 0.007982/1.261, allocations: 5.538 MB / 1.114 GB, free: 17.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/1.261, allocations: 94.58 kB / 1.114 GB, free: 17.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/1.263, allocations: 1.682 MB / 1.116 GB, free: 17.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002222/1.263, allocations: 98.61 kB / 1.116 GB, free: 17.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005889/1.263, allocations: 1.133 MB / 1.117 GB, free: 16.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007647/1.264, allocations: 1.319 MB / 1.119 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008085/1.265, allocations: 0.5491 MB / 1.119 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.265, allocations: 304.7 kB / 1.119 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/1.267, allocations: 1.562 MB / 1.121 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/1.27, allocations: 1.918 MB / 1.123 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00478/1.274, allocations: 3.764 MB / 1.126 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.275, allocations: 0.9062 kB / 1.126 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00579/1.28, allocations: 4.181 MB / 1.131 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.28, allocations: 15.52 kB / 1.131 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.28, allocations: 7.328 kB / 1.131 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/1.28, allocations: 24.91 kB / 1.131 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/1.283, allocations: 0.6937 MB / 1.131 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/1.283, allocations: 20.69 kB / 1.131 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/1.286, allocations: 260.6 kB / 1.132 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/1.286, allocations: 114.6 kB / 1.132 GB, free: 14.69 MB / 0.7794 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.001397/1.288, allocations: 0.7924 MB / 1.132 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/1.288, allocations: 292.5 kB / 1.133 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006377/1.295, allocations: 4.437 MB / 1.137 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.295, allocations: 40.78 kB / 1.137 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.295, allocations: 0 / 1.137 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004701/1.299, allocations: 3.802 MB / 1.141 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/1.311, allocations: 8.635 MB / 1.149 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.311, allocations: 4 kB / 1.149 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003571/1.315, allocations: 0.7224 MB / 1.15 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.231e-05/1.315, allocations: 16 kB / 1.15 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/1.315, allocations: 88.91 kB / 1.15 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.825e-05/1.315, allocations: 12.88 kB / 1.15 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.315, allocations: 11.56 kB / 1.15 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.326, allocations: 6.567 MB / 1.156 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/1.327, allocations: 0.7933 MB / 1.157 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000458/1.328, allocations: 68.69 kB / 1.157 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/1.33, allocations: 92 kB / 1.157 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004952/1.331, allocations: 235.1 kB / 1.158 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.331, allocations: 116 kB / 1.158 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001755/1.333, allocations: 1.154 MB / 1.159 GB, free: 236 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/1.333, allocations: 0 / 1.159 GB, free: 236 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002934/1.336, allocations: 1.233 MB / 1.16 GB, free: 14.99 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,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.01179/1.347, allocations: 7.485 MB / 1.167 GB, free: 7.531 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02285/1.37, allocations: 9.838 MB / 1.177 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.37, allocations: 4 kB / 1.177 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003408/1.374, allocations: 2.153 MB / 1.179 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007619/1.381, allocations: 1.605 MB / 1.181 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04401/1.425, allocations: 28.85 MB / 1.209 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/1.428, allocations: 2.206 MB / 1.211 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004574/1.432, allocations: 1.216 MB / 1.212 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002324/1.435, allocations: 1.388 MB / 1.214 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of SimCode: time 9.92e-07/1.435, allocations: 0 / 1.214 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/1.586, allocations: 84.82 MB / 1.296 GB, free: 3.352 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.92, allocations: 9.891 kB / 1.296 GB, free: 3.348 MB / 0.92 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)