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.0007985/0.0007985, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004505/0.004505, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.162/1.162, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001556/0.001556, allocations: 270.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 15.02/15.02, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004751, allocations: 18.05 kB / 0.5988 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2245, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9472/1.172, allocations: 307.7 MB / 0.9857 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02771/1.199, allocations: 18.48 MB / 1.004 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004734/1.204, allocations: 75.56 kB / 1.004 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005377/1.21, allocations: 1.882 MB / 1.006 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0186/1.228, allocations: 6.896 MB / 1.012 GB, free: 380 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00966/1.238, allocations: 2.937 MB / 1.015 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01632/1.254, allocations: 13.12 MB / 1.028 GB, free: 288 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005201/1.259, allocations: 2.583 MB / 1.031 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005831/1.265, allocations: 2.817 MB / 1.033 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006087/1.271, allocations: 3.256 MB / 1.037 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001012/1.272, allocations: 196 kB / 1.037 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4653/1.738, allocations: 8.097 MB / 1.045 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003093/1.741, allocations: 1.466 MB / 1.046 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.008678/1.75, allocations: 2.082 MB / 1.048 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02028/1.77, allocations: 8.384 MB / 1.056 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.77, allocations: 0 / 1.056 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.517e-06/1.77, allocations: 3.812 kB / 1.056 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002297/1.77, allocations: 2.734 kB / 1.056 GB, free: 16.34 MB / 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.01556/1.786, allocations: 4.318 MB / 1.061 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.955e-05/1.786, allocations: 8.812 kB / 1.061 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002246/1.788, allocations: 466 kB / 1.061 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008508/1.797, allocations: 1.012 MB / 1.062 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/1.803, allocations: 2.156 MB / 1.064 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/1.803, allocations: 248.4 kB / 1.064 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/1.804, allocations: 333.6 kB / 1.065 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009123/1.813, allocations: 4.232 MB / 1.069 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.264e-05/1.813, allocations: 8.562 kB / 1.069 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003486/1.814, allocations: 135.4 kB / 1.069 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/1.814, allocations: 170.6 kB / 1.069 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007844/1.822, allocations: 4.779 MB / 1.074 GB, free: 13.48 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.01905/1.841, allocations: 14.4 MB / 1.088 GB, free: 23.01 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005261/1.846, allocations: 4.555 MB / 1.092 GB, free: 22.9 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003111/1.849, allocations: 2.446 MB / 1.095 GB, free: 22.86 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/1.851, allocations: 1.617 MB / 1.096 GB, free: 21.16 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/1.851, allocations: 76.64 kB / 1.096 GB, free: 21.12 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 5.45e-06/1.851, allocations: 2.625 kB / 1.096 GB, free: 21.12 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.008655/1.86, allocations: 5.535 MB / 1.102 GB, free: 20.83 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/1.86, allocations: 95.48 kB / 1.102 GB, free: 20.76 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/1.862, allocations: 1.682 MB / 1.103 GB, free: 20.54 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003492/1.863, allocations: 94.23 kB / 1.103 GB, free: 20.51 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007118/1.863, allocations: 1.142 MB / 1.105 GB, free: 20.09 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001164/1.865, allocations: 1.311 MB / 1.106 GB, free: 19.23 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/1.865, allocations: 272.5 kB / 1.106 GB, free: 19.21 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/1.865, allocations: 305.1 kB / 1.106 GB, free: 18.91 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/1.868, allocations: 1.564 MB / 1.108 GB, free: 18.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/1.87, allocations: 1.915 MB / 1.11 GB, free: 18.68 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005039/1.875, allocations: 3.768 MB / 1.114 GB, free: 18.42 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/1.875, allocations: 0 / 1.114 GB, free: 18.42 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0069/1.882, allocations: 4.177 MB / 1.118 GB, free: 18.15 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/1.882, allocations: 8.875 kB / 1.118 GB, free: 18.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/1.882, allocations: 3.625 kB / 1.118 GB, free: 18.15 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/1.882, allocations: 22.84 kB / 1.118 GB, free: 18.14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/1.885, allocations: 0.6977 MB / 1.118 GB, free: 18.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.982e-05/1.885, allocations: 26.56 kB / 1.118 GB, free: 18.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/1.889, allocations: 483.4 kB / 1.119 GB, free: 17.97 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/1.889, allocations: 118.2 kB / 1.119 GB, free: 17.97 MB / 0.7637 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.001588/1.891, allocations: 0.7937 MB / 1.12 GB, free: 17.85 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005766/1.891, allocations: 294.9 kB / 1.12 GB, free: 17.71 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006521/1.898, allocations: 4.43 MB / 1.124 GB, free: 17.49 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/1.898, allocations: 37.03 kB / 1.124 GB, free: 17.49 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.898, allocations: 0 / 1.124 GB, free: 17.49 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004787/1.903, allocations: 3.796 MB / 1.128 GB, free: 17.15 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.915, allocations: 8.638 MB / 1.136 GB, free: 16.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/1.915, allocations: 3.906 kB / 1.136 GB, free: 16.36 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002937/1.918, allocations: 0.718 MB / 1.137 GB, free: 16.36 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.255e-05/1.918, allocations: 15.34 kB / 1.137 GB, free: 16.36 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/1.919, allocations: 89.44 kB / 1.137 GB, free: 16.36 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.696e-05/1.919, allocations: 21.69 kB / 1.137 GB, free: 16.36 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.919, allocations: 7.594 kB / 1.137 GB, free: 16.35 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008078/1.927, allocations: 6.562 MB / 1.144 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/1.929, allocations: 0.7966 MB / 1.144 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005437/1.929, allocations: 72.02 kB / 1.145 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/1.932, allocations: 266.9 kB / 1.145 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003966/1.932, allocations: 237.4 kB / 1.145 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/1.933, allocations: 119.3 kB / 1.145 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001426/1.934, allocations: 1.155 MB / 1.146 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.934, allocations: 0 / 1.146 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003033/1.937, allocations: 1.23 MB / 1.147 GB, free: 14.5 MB / 0.7637 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.01007/1.947, allocations: 7.497 MB / 1.155 GB, free: 9.855 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006682/1.954, allocations: 3.924 MB / 1.159 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.954, allocations: 4.062 kB / 1.159 GB, free: 7.043 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003246/1.957, allocations: 2.152 MB / 1.161 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009226/1.966, allocations: 1.523 MB / 1.162 GB, free: 3.492 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04733/2.014, allocations: 30.52 MB / 1.192 GB, free: 3.547 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/2.015, allocations: 2.213 MB / 1.194 GB, free: 1.297 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004141/2.02, allocations: 1.2 MB / 1.195 GB, free: 92 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002133/2.022, allocations: 1.39 MB / 1.197 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of SimCode: time 9.81e-07/2.022, allocations: 0 / 1.197 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/2.138, allocations: 81.21 MB / 1.276 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/2.138, allocations: 257 kB / 1.276 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.036/6.174, allocations: 2.734 kB / 1.276 GB, free: 14.34 MB / 0.8887 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)