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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002436/0.002436, allocations: 289.1 kB / 309.8 MB, free: 3.414 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.119/1.119, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 107.8 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.6055, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.39/0.9955, allocations: 318.6 MB / 1.139 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.6421/1.638, allocations: 18.46 MB / 1.157 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006087/1.644, allocations: 117.3 kB / 1.157 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.007163/1.651, allocations: 2.262 MB / 1.159 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.02133/1.672, allocations: 7.544 MB / 1.167 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01123/1.683, allocations: 3.269 MB / 1.17 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01623/1.7, allocations: 9.101 MB / 1.179 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00548/1.705, allocations: 2.629 MB / 1.181 GB, free: 17.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009371/1.714, allocations: 3.434 MB / 1.185 GB, free: 17.85 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009318/1.724, allocations: 3.419 MB / 1.188 GB, free: 17.84 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001652/1.725, allocations: 402 kB / 1.188 GB, free: 17.84 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01881/1.744, allocations: 7.437 MB / 1.196 GB, free: 17.78 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004068/1.748, allocations: 1.729 MB / 1.197 GB, free: 17.78 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005687/1.754, allocations: 2.298 MB / 1.2 GB, free: 17.6 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02163/1.776, allocations: 8.221 MB / 1.208 GB, free: 16.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/1.776, allocations: 0.875 kB / 1.208 GB, free: 16.66 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.555e-06/1.776, allocations: 0 / 1.208 GB, free: 16.66 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002346/1.776, allocations: 0.6875 kB / 1.208 GB, free: 16.66 MB / 0.8887 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.01817/1.794, allocations: 5.124 MB / 1.213 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/1.794, allocations: 9.219 kB / 1.213 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001603/1.794, allocations: 91.27 kB / 1.213 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008535/1.795, allocations: 459.8 kB / 1.213 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007093/1.802, allocations: 1.026 MB / 1.214 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005334/1.808, allocations: 2.269 MB / 1.216 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/1.808, allocations: 246.8 kB / 1.217 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008928/1.809, allocations: 323.4 kB / 1.217 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008253/1.817, allocations: 4.24 MB / 1.221 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.194e-05/1.817, allocations: 5.094 kB / 1.221 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003618/1.817, allocations: 134.2 kB / 1.221 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/1.818, allocations: 171 kB / 1.221 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008007/1.826, allocations: 4.781 MB / 1.226 GB, free: 13.39 MB / 0.8887 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.02683/1.852, allocations: 14.47 MB / 1.24 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006306/1.859, allocations: 4.268 MB / 1.244 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/1.862, allocations: 2.237 MB / 1.246 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/1.864, allocations: 1.616 MB / 1.248 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.783e-05/1.864, allocations: 77.19 kB / 1.248 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=392): time 6.803e-06/1.864, allocations: 0 / 1.248 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of matching and sorting (n=392): time 0.009546/1.874, allocations: 5.552 MB / 1.254 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/1.874, allocations: 92.42 kB / 1.254 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/1.877, allocations: 1.687 MB / 1.255 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000288/1.877, allocations: 93.98 kB / 1.255 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008329/1.878, allocations: 1.153 MB / 1.257 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001522/1.879, allocations: 1.385 MB / 1.258 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009076/1.88, allocations: 0.5503 MB / 1.258 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.88, allocations: 303 kB / 1.259 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/1.883, allocations: 1.565 MB / 1.26 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002767/1.886, allocations: 1.918 MB / 1.262 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005571/1.891, allocations: 3.763 MB / 1.266 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/1.891, allocations: 0 / 1.266 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007318/1.898, allocations: 4.192 MB / 1.27 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/1.898, allocations: 12.41 kB / 1.27 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.898, allocations: 4 kB / 1.27 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/1.898, allocations: 27.94 kB / 1.27 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/1.902, allocations: 0.6886 MB / 1.271 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.966e-05/1.902, allocations: 28.08 kB / 1.271 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/1.905, allocations: 265.4 kB / 1.271 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/1.905, allocations: 116.2 kB / 1.271 GB, free: 7.551 MB / 0.9044 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.001824/1.907, allocations: 0.8019 MB / 1.272 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007673/1.908, allocations: 306.1 kB / 1.272 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008493/1.916, allocations: 4.432 MB / 1.276 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/1.916, allocations: 36 kB / 1.276 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.916, allocations: 7.938 kB / 1.276 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006194/1.922, allocations: 3.794 MB / 1.28 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/1.938, allocations: 8.645 MB / 1.289 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/1.938, allocations: 4.312 kB / 1.289 GB, free: 5.656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003469/1.942, allocations: 0.7205 MB / 1.289 GB, free: 4.973 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-05/1.942, allocations: 19.98 kB / 1.289 GB, free: 4.953 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/1.942, allocations: 87.92 kB / 1.289 GB, free: 4.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.025e-05/1.942, allocations: 16 kB / 1.289 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.942, allocations: 14.52 kB / 1.289 GB, free: 4.84 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.953, allocations: 6.585 MB / 1.296 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/1.955, allocations: 0.8067 MB / 1.297 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006126/1.956, allocations: 79.92 kB / 1.297 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.958, allocations: 83.92 kB / 1.297 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/1.959, allocations: 237.2 kB / 1.297 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/1.959, allocations: 116 kB / 1.297 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00183/1.961, allocations: 1.149 MB / 1.298 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/1.961, allocations: 0 / 1.298 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003177/1.964, allocations: 1.24 MB / 1.299 GB, free: 10.42 MB / 0.9356 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.01122/1.975, allocations: 7.476 MB / 1.307 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006472/1.981, allocations: 3.729 MB / 1.31 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.981, allocations: 4 kB / 1.31 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003254/1.985, allocations: 1.984 MB / 1.312 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007826/1.993, allocations: 1.601 MB / 1.314 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04779/2.04, allocations: 25.82 MB / 1.339 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/2.043, allocations: 2.205 MB / 1.341 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004416/2.047, allocations: 1.208 MB / 1.342 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002457/2.05, allocations: 1.382 MB / 1.344 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of SimCode: time 1.011e-06/2.05, allocations: 0 / 1.344 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1495/2.199, allocations: 86.06 MB / 1.428 GB, free: 7.781 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/16.96, allocations: 18.3 kB / 1.428 GB, free: 7.766 MB / 1.061 GB " [Timeout remaining time 643] (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 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.293115903972648] Failed to read output from testmodel.py, exit status != 0: 17.142910588008817 17.157612622 15.378381177 Calling exit ...