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.04959/0.04959, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.0477/0.0477, allocations: 196.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 15.9/15.9, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 280.7 kB / 290.3 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.1/1.1, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 98.91 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2119, allocations: 86.98 MB / 0.6797 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9223/1.134, allocations: 310.5 MB / 0.983 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02907/1.163, allocations: 18.37 MB / 1.001 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005556/1.169, allocations: 75.56 kB / 1.001 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006021/1.175, allocations: 1.936 MB / 1.003 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02121/1.196, allocations: 6.893 MB / 1.01 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009759/1.206, allocations: 2.963 MB / 1.013 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01418/1.22, allocations: 9.107 MB / 1.021 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005274/1.225, allocations: 3.05 MB / 1.024 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008271/1.234, allocations: 3.352 MB / 1.028 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007136/1.241, allocations: 3.433 MB / 1.031 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001239/1.242, allocations: 404 kB / 1.031 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01521/1.257, allocations: 7.294 MB / 1.039 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002991/1.26, allocations: 1.691 MB / 1.04 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004269/1.265, allocations: 2.303 MB / 1.042 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01636/1.281, allocations: 8.64 MB / 1.051 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.281, allocations: 0 / 1.051 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.422e-06/1.281, allocations: 3.938 kB / 1.051 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001041/1.281, allocations: 0 / 1.051 GB, free: 11.22 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.0115/1.293, allocations: 4.996 MB / 1.056 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/1.293, allocations: 8.031 kB / 1.056 GB, free: 6.148 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005051/1.293, allocations: 463.5 kB / 1.056 GB, free: 5.684 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006116/1.299, allocations: 1.014 MB / 1.057 GB, free: 4.664 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/1.303, allocations: 2.158 MB / 1.059 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/1.303, allocations: 246.4 kB / 1.06 GB, free: 2.211 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/1.304, allocations: 327.8 kB / 1.06 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.28/1.584, allocations: 4.239 MB / 1.064 GB, free: 292.2 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/1.584, allocations: 13.45 kB / 1.064 GB, free: 292.2 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004129/1.584, allocations: 135.4 kB / 1.064 GB, free: 292.1 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002762/1.585, allocations: 165.5 kB / 1.064 GB, free: 292.1 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009905/1.595, allocations: 4.786 MB / 1.069 GB, free: 290.6 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.02281/1.617, allocations: 14.37 MB / 1.083 GB, free: 281.6 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006764/1.624, allocations: 4.556 MB / 1.087 GB, free: 279.6 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004164/1.628, allocations: 2.447 MB / 1.09 GB, free: 278.7 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/1.63, allocations: 1.61 MB / 1.091 GB, free: 277 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/1.63, allocations: 76.02 kB / 1.091 GB, free: 276.9 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 7.083e-06/1.63, allocations: 0.9688 kB / 1.091 GB, free: 276.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.01081/1.641, allocations: 5.535 MB / 1.097 GB, free: 274.4 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/1.641, allocations: 96.55 kB / 1.097 GB, free: 274.3 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/1.644, allocations: 1.686 MB / 1.099 GB, free: 273.4 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004307/1.644, allocations: 95.77 kB / 1.099 GB, free: 273.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006562/1.645, allocations: 1.126 MB / 1.1 GB, free: 272.3 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001162/1.646, allocations: 1.325 MB / 1.101 GB, free: 271.2 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/1.647, allocations: 0.5473 MB / 1.102 GB, free: 270.9 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.95e-05/1.647, allocations: 305.1 kB / 1.102 GB, free: 270.6 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/1.65, allocations: 1.572 MB / 1.103 GB, free: 269.8 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/1.652, allocations: 1.913 MB / 1.105 GB, free: 268.7 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005674/1.658, allocations: 3.763 MB / 1.109 GB, free: 266.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/1.658, allocations: 0 / 1.109 GB, free: 266.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006981/1.665, allocations: 4.18 MB / 1.113 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/1.665, allocations: 7.188 kB / 1.113 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/1.665, allocations: 7.25 kB / 1.113 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.444e-05/1.665, allocations: 19.42 kB / 1.113 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/1.668, allocations: 0.6964 MB / 1.114 GB, free: 264.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.135e-05/1.668, allocations: 26.31 kB / 1.114 GB, free: 264.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/1.672, allocations: 480.1 kB / 1.114 GB, free: 264.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005157/1.672, allocations: 109.8 kB / 1.114 GB, free: 264.2 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.001932/1.674, allocations: 0.8091 MB / 1.115 GB, free: 263.6 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/1.675, allocations: 293.3 kB / 1.115 GB, free: 263.5 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007244/1.682, allocations: 4.423 MB / 1.12 GB, free: 259.5 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/1.682, allocations: 36 kB / 1.12 GB, free: 259.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.682, allocations: 0 / 1.12 GB, free: 259.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004838/1.687, allocations: 3.803 MB / 1.124 GB, free: 255.6 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/1.699, allocations: 8.637 MB / 1.132 GB, free: 246.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/1.699, allocations: 4 kB / 1.132 GB, free: 246.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002935/1.702, allocations: 0.7204 MB / 1.133 GB, free: 246.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.812e-05/1.702, allocations: 16 kB / 1.133 GB, free: 246.2 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002434/1.702, allocations: 91.91 kB / 1.133 GB, free: 246.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.156e-05/1.702, allocations: 15.97 kB / 1.133 GB, free: 246.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.702, allocations: 9.25 kB / 1.133 GB, free: 246.1 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007617/1.71, allocations: 6.571 MB / 1.139 GB, free: 239.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/1.712, allocations: 0.7894 MB / 1.14 GB, free: 238.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007471/1.713, allocations: 79.3 kB / 1.14 GB, free: 238.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/1.716, allocations: 270.6 kB / 1.14 GB, free: 238.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004426/1.716, allocations: 230.7 kB / 1.141 GB, free: 238 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.716, allocations: 112 kB / 1.141 GB, free: 237.9 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001513/1.718, allocations: 1.153 MB / 1.142 GB, free: 236.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/1.718, allocations: 0 / 1.142 GB, free: 236.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002658/1.721, allocations: 1.232 MB / 1.143 GB, free: 235.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.009125/1.73, allocations: 7.496 MB / 1.15 GB, free: 228 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01893/1.749, allocations: 9.84 MB / 1.16 GB, free: 218.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.749, allocations: 0 / 1.16 GB, free: 218.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002924/1.752, allocations: 2.151 MB / 1.162 GB, free: 216.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007605/1.759, allocations: 1.605 MB / 1.164 GB, free: 214.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04713/1.807, allocations: 30.19 MB / 1.193 GB, free: 182.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/1.808, allocations: 2.205 MB / 1.195 GB, free: 180.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00433/1.813, allocations: 1.212 MB / 1.196 GB, free: 179.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/1.815, allocations: 1.386 MB / 1.198 GB, free: 178.1 MB / 0.7637 GB Notification: Performance of SimCode: time 8.62e-07/1.815, allocations: 7.938 kB / 1.198 GB, free: 178.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.924, allocations: 84.31 MB / 1.28 GB, free: 94.74 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.925, allocations: 261.6 kB / 1.28 GB, free: 94.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.255/6.179, allocations: 4.875 kB / 1.28 GB, free: 94.48 MB / 0.7637 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)