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.001895/0.001895, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002361/0.002361, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.002515/0.002515, allocations: 281.8 kB / 313.5 MB, free: 2.785 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.19/1.19, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] 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.002739/0.002739, allocations: 101.1 kB / 0.7403 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1747, allocations: 95.39 MB / 0.8335 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7375/0.9122, allocations: 319.9 MB / 1.146 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03096/0.9432, allocations: 18.53 MB / 1.164 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005422/0.9486, allocations: 115.1 kB / 1.164 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.007521/0.9561, allocations: 2.273 MB / 1.166 GB, free: 5.887 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02129/0.9774, allocations: 7.689 MB / 1.174 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009699/0.9871, allocations: 3.338 MB / 1.177 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01389/1.001, allocations: 9.277 MB / 1.186 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005504/1.006, allocations: 2.386 MB / 1.188 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007994/1.014, allocations: 3.438 MB / 1.192 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007648/1.022, allocations: 3.425 MB / 1.195 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002133/1.024, allocations: 404 kB / 1.196 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01695/1.041, allocations: 7.571 MB / 1.203 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00305/1.044, allocations: 1.733 MB / 1.205 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005327/1.05, allocations: 2.299 MB / 1.207 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01962/1.069, allocations: 8.22 MB / 1.215 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.069, allocations: 0 / 1.215 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.326e-06/1.069, allocations: 8 kB / 1.215 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002561/1.069, allocations: 0 / 1.215 GB, free: 3.93 MB / 0.8419 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.01565/1.085, allocations: 5.047 MB / 1.22 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.085, allocations: 9.938 kB / 1.22 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.902e-05/1.085, allocations: 86.45 kB / 1.22 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001051/1.086, allocations: 459.5 kB / 1.22 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007054/1.093, allocations: 1.028 MB / 1.221 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005215/1.099, allocations: 2.166 MB / 1.224 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/1.099, allocations: 242.4 kB / 1.224 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009079/1.1, allocations: 327.9 kB / 1.224 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008678/1.108, allocations: 4.235 MB / 1.228 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/1.109, allocations: 7.938 kB / 1.228 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/1.109, allocations: 140 kB / 1.228 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/1.109, allocations: 170.3 kB / 1.228 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008964/1.118, allocations: 4.779 MB / 1.233 GB, free: 1.047 MB / 0.8575 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.02484/1.143, allocations: 14.35 MB / 1.247 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007846/1.151, allocations: 4.293 MB / 1.251 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004626/1.155, allocations: 2.237 MB / 1.254 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/1.157, allocations: 274.8 kB / 1.254 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.324e-05/1.157, allocations: 77.62 kB / 1.254 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=392): time 8.076e-06/1.157, allocations: 0 / 1.254 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of matching and sorting (n=392): time 0.01178/1.169, allocations: 5.548 MB / 1.259 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/1.169, allocations: 94.42 kB / 1.259 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/1.172, allocations: 1.692 MB / 1.261 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005528/1.172, allocations: 93.7 kB / 1.261 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/1.173, allocations: 1.15 MB / 1.262 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001719/1.175, allocations: 1.386 MB / 1.264 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/1.177, allocations: 0.5508 MB / 1.264 GB, free: 216 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.177, allocations: 305.1 kB / 1.264 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/1.18, allocations: 1.56 MB / 1.266 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/1.183, allocations: 1.92 MB / 1.268 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006825/1.19, allocations: 3.762 MB / 1.272 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/1.19, allocations: 4 kB / 1.272 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008862/1.199, allocations: 4.19 MB / 1.276 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/1.199, allocations: 7.938 kB / 1.276 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/1.199, allocations: 8.656 kB / 1.276 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/1.199, allocations: 16 kB / 1.276 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/1.202, allocations: 0.6983 MB / 1.276 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.168e-05/1.202, allocations: 27.92 kB / 1.276 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/1.206, allocations: 261.9 kB / 1.277 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005908/1.206, allocations: 116 kB / 1.277 GB, free: 3.164 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.002302/1.208, allocations: 0.8061 MB / 1.278 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.209, allocations: 310.1 kB / 1.278 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009219/1.219, allocations: 4.424 MB / 1.282 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.156e-05/1.219, allocations: 36 kB / 1.282 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/1.219, allocations: 0 / 1.282 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006736/1.225, allocations: 3.799 MB / 1.286 GB, free: 9.684 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/1.243, allocations: 8.541 MB / 1.294 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.243, allocations: 0 / 1.294 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003621/1.247, allocations: 0.7259 MB / 1.295 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.226e-05/1.247, allocations: 15.94 kB / 1.295 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004322/1.247, allocations: 87.97 kB / 1.295 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.62e-05/1.247, allocations: 16 kB / 1.295 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.247, allocations: 7.938 kB / 1.295 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.259, allocations: 6.585 MB / 1.301 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/1.261, allocations: 0.7353 MB / 1.302 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007174/1.262, allocations: 68 kB / 1.302 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/1.264, allocations: 89.8 kB / 1.302 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005511/1.265, allocations: 250.5 kB / 1.303 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003272/1.265, allocations: 116 kB / 1.303 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002186/1.267, allocations: 1.157 MB / 1.304 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.267, allocations: 0 / 1.304 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003485/1.271, allocations: 1.236 MB / 1.305 GB, free: 5.805 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.01324/1.284, allocations: 7.475 MB / 1.312 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007617/1.292, allocations: 3.734 MB / 1.316 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.292, allocations: 4.062 kB / 1.316 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004109/1.296, allocations: 1.984 MB / 1.318 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00887/1.305, allocations: 1.594 MB / 1.319 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05281/1.358, allocations: 25.83 MB / 1.345 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003276/1.361, allocations: 2.197 MB / 1.347 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005311/1.366, allocations: 1.208 MB / 1.348 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003091/1.369, allocations: 1.386 MB / 1.349 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of SimCode: time 1.744e-06/1.369, allocations: 0 / 1.349 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4985/1.868, allocations: 88.62 MB / 1.436 GB, free: 345.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/19.92, allocations: 11.92 kB / 1.436 GB, free: 345.6 MB / 0.9825 GB " [Timeout remaining time 640] (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 sys.exit(0), Time elapsed: 24.472274314030074] Failed to read output from testmodel.py, exit status != 0: 20.145342980977148 20.165697443 19.092350648 Calling exit ...