Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001159/0.001159, allocations: 108 kB / 15.6 MB, free: 132 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.001147/0.001147, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.178/1.178, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8455/0.8455, allocations: 143 MB / 433.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 59.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1239, allocations: 82.04 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7161/0.8401, allocations: 295.5 MB / 0.8829 GB, free: 1.555 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.8578, allocations: 17.04 MB / 0.8996 GB, free: 1.492 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.8597, allocations: 79.91 kB / 0.8997 GB, free: 1.492 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003232/0.863, allocations: 1.895 MB / 0.9015 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.8744, allocations: 6.438 MB / 0.9078 GB, free: 1.188 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005425/0.8798, allocations: 2.919 MB / 0.9106 GB, free: 1.117 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007578/0.8874, allocations: 7.709 MB / 0.9182 GB, free: 1.105 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003054/0.8905, allocations: 2.597 MB / 0.9207 GB, free: 16.81 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004/0.8945, allocations: 2.765 MB / 0.9234 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003451/0.898, allocations: 2.704 MB / 0.9261 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004329/0.8984, allocations: 328.5 kB / 0.9264 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/0.909, allocations: 6.162 MB / 0.9324 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.9102, allocations: 1.34 MB / 0.9337 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002013/0.9122, allocations: 1.883 MB / 0.9355 GB, free: 16.09 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008547/0.9208, allocations: 7.055 MB / 0.9424 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9208, allocations: 0 / 0.9424 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9208, allocations: 0 / 0.9424 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.258e-05/0.9208, allocations: 2.625 kB / 0.9424 GB, free: 14.05 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.007868/0.9287, allocations: 4.125 MB / 0.9465 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.9287, allocations: 11.19 kB / 0.9465 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003617/0.9291, allocations: 375.5 kB / 0.9468 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005179/0.9343, allocations: 0.9165 MB / 0.9477 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.9366, allocations: 1.846 MB / 0.9495 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.9367, allocations: 194.6 kB / 0.9497 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.937, allocations: 261.9 kB / 0.95 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004148/0.9412, allocations: 3.336 MB / 0.9532 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/0.9412, allocations: 5.594 kB / 0.9532 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.9414, allocations: 105.7 kB / 0.9533 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.9416, allocations: 137.7 kB / 0.9534 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/0.9462, allocations: 3.503 MB / 0.9569 GB, free: 8.398 MB / 0.6856 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.01182/0.958, allocations: 12.23 MB / 0.9688 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/0.9619, allocations: 3.513 MB / 0.9722 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.9643, allocations: 1.822 MB / 0.974 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.9656, allocations: 1.49 MB / 0.9755 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.9656, allocations: 71.31 kB / 0.9756 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=278): time 3.617e-06/0.9656, allocations: 0 / 0.9756 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of matching and sorting (n=278): time 0.005484/0.9711, allocations: 3.881 MB / 0.9793 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.9712, allocations: 85.59 kB / 0.9794 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.9726, allocations: 1.376 MB / 0.9808 GB, free: 32 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.9728, allocations: 78.84 kB / 0.9808 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005578/0.9734, allocations: 0.9877 MB / 0.9818 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006085/0.974, allocations: 0.9437 MB / 0.9827 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005555/0.9745, allocations: 405 kB / 0.9831 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.9746, allocations: 305.1 kB / 0.9834 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.9761, allocations: 1.094 MB / 0.9845 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.9779, allocations: 1.361 MB / 0.9858 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/0.9813, allocations: 2.647 MB / 0.9884 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.9813, allocations: 4 kB / 0.9884 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004031/0.9854, allocations: 2.975 MB / 0.9913 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.9854, allocations: 8 kB / 0.9913 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9854, allocations: 4 kB / 0.9913 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.9854, allocations: 16.56 kB / 0.9913 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.9874, allocations: 0.514 MB / 0.9918 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.9874, allocations: 14.53 kB / 0.9918 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.9891, allocations: 185.9 kB / 0.992 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.9893, allocations: 83.98 kB / 0.9921 GB, free: 4.285 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.0008326/0.9901, allocations: 0.6446 MB / 0.9927 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.9904, allocations: 233.2 kB / 0.9929 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/0.9948, allocations: 3.116 MB / 0.996 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.9949, allocations: 27.98 kB / 0.996 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.9949, allocations: 4 kB / 0.996 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003418/0.9983, allocations: 2.652 MB / 0.9986 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007629/1.006, allocations: 6.225 MB / 1.005 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.006, allocations: 3.984 kB / 1.005 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/1.008, allocations: 0.5442 MB / 1.005 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.008, allocations: 8 kB / 1.005 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/1.008, allocations: 67.97 kB / 1.005 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/1.008, allocations: 10.44 kB / 1.005 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.008, allocations: 0 / 1.005 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005703/1.014, allocations: 4.565 MB / 1.01 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/1.015, allocations: 0.611 MB / 1.01 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/1.015, allocations: 48 kB / 1.01 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.017, allocations: 79 kB / 1.01 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/1.017, allocations: 164.6 kB / 1.011 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.017, allocations: 87.91 kB / 1.011 GB, free: 1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001035/1.018, allocations: 0.9423 MB / 1.012 GB, free: 64 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.018, allocations: 0 / 1.012 GB, free: 64 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001606/1.02, allocations: 0.9785 MB / 1.013 GB, free: 15.08 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.006343/1.026, allocations: 5.402 MB / 1.018 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009939/1.036, allocations: 5.537 MB / 1.023 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.036, allocations: 0 / 1.023 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/1.038, allocations: 1.514 MB / 1.025 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004885/1.043, allocations: 1.353 MB / 1.026 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/1.067, allocations: 21.3 MB / 1.047 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/1.068, allocations: 1.895 MB / 1.049 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002504/1.071, allocations: 0.8435 MB / 1.05 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/1.072, allocations: 1.093 MB / 1.051 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/1.072, allocations: 0 / 1.051 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08657/1.158, allocations: 67.88 MB / 1.117 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/9.105, allocations: 6.281 kB / 1.117 GB, free: 3.977 MB / 0.8419 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)