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.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.001331/0.001331, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001376/0.001376, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.942/0.942, allocations: 145 MB / 453.8 MB, free: 0.707 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(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"}) [Timeout 660] "Notification: BuildSysPro 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.001978/0.001978, allocations: 70.45 kB / 0.628 GB, free: 10.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1697, allocations: 87.81 MB / 0.7138 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7584/0.9281, allocations: 299.8 MB / 1.007 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02813/0.9562, allocations: 17.07 MB / 1.023 GB, free: 2.969 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004478/0.9607, allocations: 107.2 kB / 1.023 GB, free: 2.863 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005631/0.9663, allocations: 1.989 MB / 1.025 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01699/0.9833, allocations: 6.628 MB / 1.032 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008602/0.9919, allocations: 2.979 MB / 1.035 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0122/1.004, allocations: 7.719 MB / 1.042 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004054/1.008, allocations: 2.162 MB / 1.044 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006236/1.014, allocations: 2.893 MB / 1.047 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006135/1.021, allocations: 2.861 MB / 1.05 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001163/1.022, allocations: 324 kB / 1.05 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/1.036, allocations: 6.558 MB / 1.057 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002617/1.039, allocations: 1.363 MB / 1.058 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004685/1.044, allocations: 1.89 MB / 1.06 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01699/1.061, allocations: 7.13 MB / 1.067 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.061, allocations: 4 kB / 1.067 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.043e-06/1.061, allocations: 0 / 1.067 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000173/1.061, allocations: 0 / 1.067 GB, free: 6.195 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01248/1.073, allocations: 4.234 MB / 1.071 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.073, allocations: 12.03 kB / 1.071 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006924/1.074, allocations: 375 kB / 1.071 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006809/1.081, allocations: 0.9307 MB / 1.072 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3227/1.403, allocations: 1.924 MB / 1.074 GB, free: 310.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/1.404, allocations: 196.4 kB / 1.074 GB, free: 310.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006193/1.404, allocations: 259.2 kB / 1.075 GB, free: 310.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006231/1.41, allocations: 3.334 MB / 1.078 GB, free: 309.1 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.421e-05/1.411, allocations: 10.94 kB / 1.078 GB, free: 309.1 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/1.411, allocations: 108.4 kB / 1.078 GB, free: 309 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/1.411, allocations: 141.3 kB / 1.078 GB, free: 309 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006853/1.418, allocations: 3.499 MB / 1.081 GB, free: 307.9 MB / 0.8419 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.01784/1.436, allocations: 12.19 MB / 1.093 GB, free: 299.8 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004612/1.44, allocations: 3.315 MB / 1.097 GB, free: 298.1 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/1.443, allocations: 1.705 MB / 1.098 GB, free: 297.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.444, allocations: 1.487 MB / 1.1 GB, free: 295.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/1.444, allocations: 65.69 kB / 1.1 GB, free: 295.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=278): time 4.558e-06/1.444, allocations: 0 / 1.1 GB, free: 295.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=278): time 0.007042/1.451, allocations: 3.9 MB / 1.104 GB, free: 294.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.452, allocations: 80.81 kB / 1.104 GB, free: 294.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/1.454, allocations: 1.383 MB / 1.105 GB, free: 293.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002837/1.454, allocations: 76.48 kB / 1.105 GB, free: 293.6 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006021/1.455, allocations: 1.005 MB / 1.106 GB, free: 293 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008709/1.455, allocations: 0.9885 MB / 1.107 GB, free: 292.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006987/1.456, allocations: 405.7 kB / 1.107 GB, free: 292.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.394e-05/1.456, allocations: 307.8 kB / 1.108 GB, free: 291.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/1.458, allocations: 1.092 MB / 1.109 GB, free: 291.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/1.46, allocations: 1.363 MB / 1.11 GB, free: 290.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004106/1.464, allocations: 2.649 MB / 1.113 GB, free: 289.4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/1.464, allocations: 1.375 kB / 1.113 GB, free: 289.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004929/1.469, allocations: 2.986 MB / 1.116 GB, free: 287.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/1.469, allocations: 5.531 kB / 1.116 GB, free: 287.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.469, allocations: 7.938 kB / 1.116 GB, free: 287.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/1.469, allocations: 11.91 kB / 1.116 GB, free: 287.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/1.471, allocations: 0.5138 MB / 1.116 GB, free: 287.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.133e-05/1.471, allocations: 19.75 kB / 1.116 GB, free: 287.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/1.473, allocations: 200.5 kB / 1.116 GB, free: 287.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/1.473, allocations: 80.5 kB / 1.116 GB, free: 287.6 MB / 0.8419 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.001102/1.475, allocations: 0.6436 MB / 1.117 GB, free: 287.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005774/1.475, allocations: 248.9 kB / 1.117 GB, free: 287 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/1.48, allocations: 3.118 MB / 1.12 GB, free: 285.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/1.48, allocations: 27.53 kB / 1.12 GB, free: 285.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/1.48, allocations: 0 / 1.12 GB, free: 285.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003201/1.483, allocations: 2.66 MB / 1.123 GB, free: 283.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008599/1.492, allocations: 6.22 MB / 1.129 GB, free: 279.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/1.492, allocations: 0 / 1.129 GB, free: 279.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.494, allocations: 0.5378 MB / 1.13 GB, free: 278.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/1.494, allocations: 8 kB / 1.13 GB, free: 278.6 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/1.494, allocations: 67.97 kB / 1.13 GB, free: 278.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/1.494, allocations: 11.97 kB / 1.13 GB, free: 278.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.494, allocations: 0 / 1.13 GB, free: 278.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005693/1.5, allocations: 4.582 MB / 1.134 GB, free: 273.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.501, allocations: 0.6276 MB / 1.135 GB, free: 273.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/1.501, allocations: 48 kB / 1.135 GB, free: 273.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.503, allocations: 66.91 kB / 1.135 GB, free: 273.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/1.503, allocations: 162 kB / 1.135 GB, free: 273 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.504, allocations: 87.41 kB / 1.135 GB, free: 272.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001086/1.505, allocations: 0.9462 MB / 1.136 GB, free: 271.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.505, allocations: 0 / 1.136 GB, free: 271.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001991/1.507, allocations: 0.9906 MB / 1.137 GB, free: 270.9 MB / 0.8419 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.006073/1.513, allocations: 5.409 MB / 1.142 GB, free: 265.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003598/1.516, allocations: 2.617 MB / 1.145 GB, free: 262.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.516, allocations: 3.969 kB / 1.145 GB, free: 262.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.518, allocations: 1.394 MB / 1.146 GB, free: 261.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006073/1.524, allocations: 1.347 MB / 1.148 GB, free: 260.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/1.55, allocations: 19.54 MB / 1.167 GB, free: 240.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/1.551, allocations: 1.896 MB / 1.168 GB, free: 238.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002478/1.553, allocations: 0.8435 MB / 1.169 GB, free: 237.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.555, allocations: 1.085 MB / 1.17 GB, free: 236.6 MB / 0.8419 GB Notification: Performance of SimCode: time 1.042e-06/1.555, allocations: 0 / 1.17 GB, free: 236.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09955/1.654, allocations: 68.81 MB / 1.238 GB, free: 168.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.62, allocations: 11.5 kB / 1.238 GB, free: 168.5 MB / 0.8419 GB " [Timeout remaining time 645] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.501760928003932] Failed to read output from testmodel.py, exit status != 0: 14.738810768991243 14.756835236 13.692246141 Calling exit ...