Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001922/0.001922, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.002335/0.002335, allocations: 169.5 kB / 22.46 MB, free: 5.355 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.541/1.541, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.9386/0.9386, allocations: 110.2 MB / 369.4 MB, free: 1.164 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.5478 GB, free: 9.824 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.37e-05/3.58e-05, allocations: 3.094 kB / 0.5478 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05354/0.05358, allocations: 38.08 MB / 0.585 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01869/0.07227, allocations: 9.682 MB / 0.5944 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.07467, allocations: 79.31 kB / 0.5945 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.07718, allocations: 0.648 MB / 0.5951 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00643/0.08361, allocations: 2.062 MB / 0.5971 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003917/0.08753, allocations: 1.261 MB / 0.5984 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006023/0.09355, allocations: 3.473 MB / 0.6018 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.09564, allocations: 0.8183 MB / 0.6026 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005141/0.1008, allocations: 1.704 MB / 0.6042 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.1031, allocations: 0.7943 MB / 0.605 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000481/0.1036, allocations: 103.9 kB / 0.6051 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.1065, allocations: 0.7246 MB / 0.6058 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006051/0.1071, allocations: 306.7 kB / 0.6061 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.1084, allocations: 434.9 kB / 0.6065 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00446/0.1129, allocations: 2.049 MB / 0.6085 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1129, allocations: 4 kB / 0.6085 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1129, allocations: 0 / 0.6085 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.832e-05/0.1129, allocations: 0 / 0.6085 GB, free: 11.41 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002861/0.1158, allocations: 1.465 MB / 0.61 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1158, allocations: 8.031 kB / 0.61 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004237/0.1162, allocations: 144.1 kB / 0.6101 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.1183, allocations: 1.051 MB / 0.6111 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.1183, allocations: 58.38 kB / 0.6112 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.1184, allocations: 75.94 kB / 0.6113 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.1201, allocations: 0.9411 MB / 0.6122 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.1201, allocations: 0 / 0.6122 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.1202, allocations: 35.98 kB / 0.6122 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.1202, allocations: 24 kB / 0.6122 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.1215, allocations: 0.5594 MB / 0.6128 GB, free: 6.922 MB / 0.5137 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.004041/0.1255, allocations: 2.602 MB / 0.6153 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.1261, allocations: 258.3 kB / 0.6156 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.1265, allocations: 160.8 kB / 0.6157 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.1267, allocations: 68.48 kB / 0.6158 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.1268, allocations: 38.56 kB / 0.6158 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.1268, allocations: 0 / 0.6158 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.001289/0.1281, allocations: 0.5047 MB / 0.6163 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1281, allocations: 55.41 kB / 0.6164 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1292, allocations: 0.8138 MB / 0.6172 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.1293, allocations: 33.7 kB / 0.6172 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/0.1297, allocations: 0.5116 MB / 0.6177 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1299, allocations: 111 kB / 0.6178 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.1301, allocations: 122.2 kB / 0.6179 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.1302, allocations: 330 kB / 0.6182 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.1306, allocations: 161.2 kB / 0.6184 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.1313, allocations: 0.4948 MB / 0.6189 GB, free: 428 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000971/0.1323, allocations: 0.5149 MB / 0.6194 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1323, allocations: 3.938 kB / 0.6194 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001271/0.1335, allocations: 0.6063 MB / 0.62 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1336, allocations: 8 kB / 0.62 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.1336, allocations: 4 kB / 0.62 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.1336, allocations: 8 kB / 0.62 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.1341, allocations: 123.8 kB / 0.6201 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.1341, allocations: 15.92 kB / 0.6201 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.1346, allocations: 63.78 kB / 0.6202 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.1347, allocations: 32 kB / 0.6202 GB, free: 14.96 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004425/0.1351, allocations: 273.6 kB / 0.6205 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.1353, allocations: 95.36 kB / 0.6206 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.1364, allocations: 480.7 kB / 0.621 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.1364, allocations: 8 kB / 0.621 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1364, allocations: 8 kB / 0.621 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008483/0.1373, allocations: 458.4 kB / 0.6215 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.1395, allocations: 1.167 MB / 0.6226 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1395, allocations: 0 / 0.6226 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.1399, allocations: 75.89 kB / 0.6227 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.1399, allocations: 4 kB / 0.6227 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.1399, allocations: 11.98 kB / 0.6227 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.1399, allocations: 4 kB / 0.6227 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1399, allocations: 0 / 0.6227 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.1416, allocations: 0.7585 MB / 0.6234 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.1419, allocations: 147.2 kB / 0.6236 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.1421, allocations: 8 kB / 0.6236 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.1426, allocations: 23.97 kB / 0.6236 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.1426, allocations: 35.88 kB / 0.6236 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.1427, allocations: 20.06 kB / 0.6237 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008075/0.1435, allocations: 0.5459 MB / 0.6242 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1435, allocations: 0 / 0.6242 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001186/0.1447, allocations: 359 kB / 0.6245 GB, free: 10.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008725/0.1456, allocations: 385.4 kB / 0.6249 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.1467, allocations: 400.3 kB / 0.6253 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1467, allocations: 5.375 kB / 0.6253 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.1472, allocations: 180.8 kB / 0.6255 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.1496, allocations: 476.1 kB / 0.6259 GB, free: 9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.1526, allocations: 1.542 MB / 0.6274 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.1532, allocations: 448.6 kB / 0.6279 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006347/0.1538, allocations: 166 kB / 0.628 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.154, allocations: 76.48 kB / 0.6281 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.154, allocations: 0 / 0.6281 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of Templates: time 0.03712/0.1911, allocations: 18.91 MB / 0.6466 GB, free: 4.219 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.443478401750326] Failed to read output from testmodel.py, exit status != 0: 0.20091387256979942 0.216469459 0.100103358 Calling exit ...