Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.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.00128/0.00128, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.00134/0.00134, allocations: 156.4 kB / 23.01 MB, free: 4.945 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.37/1.37, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 179] 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.8197/0.8197, allocations: 110.3 MB / 370.1 MB, free: 15.66 MB / 350.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.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") [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.001966/0.001966, allocations: 66.08 kB / 0.5483 GB, free: 13.27 MB / 0.5137 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1516, allocations: 87.86 MB / 0.6341 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002717/0.1544, allocations: 1.495 MB / 0.6356 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003827/0.1547, allocations: 140.4 kB / 0.6357 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.1548, allocations: 0 / 0.6357 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.1548, allocations: 7.938 kB / 0.6357 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.1549, allocations: 7.938 kB / 0.6357 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.1551, allocations: 27.91 kB / 0.6358 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.992e-05/0.1552, allocations: 35.92 kB / 0.6358 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1553, allocations: 19.97 kB / 0.6358 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.1553, allocations: 15.92 kB / 0.6358 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.1554, allocations: 23.92 kB / 0.6358 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1554, allocations: 4 kB / 0.6358 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.1555, allocations: 23.98 kB / 0.6359 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.1555, allocations: 15.92 kB / 0.6359 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.1556, allocations: 15.94 kB / 0.6359 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1557, allocations: 67.72 kB / 0.636 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1557, allocations: 0 / 0.636 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1557, allocations: 0 / 0.636 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1558, allocations: 3.938 kB / 0.636 GB, free: 3.348 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005246/0.1563, allocations: 286.2 kB / 0.6362 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1563, allocations: 12.02 kB / 0.6363 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.1574, allocations: 212.5 kB / 0.6365 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.1576, allocations: 118.4 kB / 0.6366 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1576, allocations: 8.359 kB / 0.6366 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1576, allocations: 384 / 0.6366 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005631/0.1582, allocations: 194 kB / 0.6368 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1582, allocations: 192 / 0.6368 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.1582, allocations: 7.938 kB / 0.6368 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1582, allocations: 0 / 0.6368 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.1591, allocations: 279.5 kB / 0.637 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.16, allocations: 369.2 kB / 0.6374 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.1611, allocations: 286.2 kB / 0.6377 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.1615, allocations: 96.8 kB / 0.6378 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1615, allocations: 7.922 kB / 0.6378 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1616, allocations: 34.56 kB / 0.6378 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1616, allocations: 0 / 0.6378 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.001204/0.1628, allocations: 309.3 kB / 0.6381 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1628, allocations: 55.34 kB / 0.6381 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.1629, allocations: 113.8 kB / 0.6382 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1629, allocations: 25.7 kB / 0.6383 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.163, allocations: 88.08 kB / 0.6384 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.163, allocations: 19.89 kB / 0.6384 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.1631, allocations: 13.72 kB / 0.6384 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1632, allocations: 318.8 kB / 0.6387 GB, free: 392 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.1637, allocations: 91.88 kB / 0.6388 GB, free: 300 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.164, allocations: 99.81 kB / 0.6389 GB, free: 200 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006853/0.1647, allocations: 172.6 kB / 0.639 GB, free: 24 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1647, allocations: 0 / 0.639 GB, free: 24 kB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007783/0.1655, allocations: 217.5 kB / 0.6392 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1655, allocations: 4 kB / 0.6393 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1655, allocations: 0 / 0.6393 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1655, allocations: 0 / 0.6393 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.1658, allocations: 35.94 kB / 0.6393 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1658, allocations: 0 / 0.6393 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.166, allocations: 35.91 kB / 0.6393 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.166, allocations: 0 / 0.6393 GB, free: 15.73 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001053/0.1661, allocations: 125.7 kB / 0.6394 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.1661, allocations: 4 kB / 0.6394 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.1662, allocations: 8 kB / 0.6395 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1662, allocations: 4 kB / 0.6395 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1662, allocations: 0 / 0.6395 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1662, allocations: 7.938 kB / 0.6395 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1664, allocations: 149.3 kB / 0.6396 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1664, allocations: 0 / 0.6396 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.1666, allocations: 35.94 kB / 0.6396 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1666, allocations: 0 / 0.6396 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1666, allocations: 0 / 0.6396 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1666, allocations: 0 / 0.6396 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1666, allocations: 4 kB / 0.6396 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/0.1675, allocations: 319.2 kB / 0.6399 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-06/0.1675, allocations: 3.938 kB / 0.64 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1675, allocations: 3.938 kB / 0.64 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.1678, allocations: 27.95 kB / 0.64 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.1678, allocations: 7.984 kB / 0.64 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.1678, allocations: 4 kB / 0.64 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.1679, allocations: 83.28 kB / 0.6401 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1679, allocations: 0 / 0.6401 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002345/0.1681, allocations: 16 kB / 0.6401 GB, free: 14.88 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0001084/0.1682, allocations: 103.6 kB / 0.6402 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007693/0.169, allocations: 191.8 kB / 0.6404 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.169, allocations: 0 / 0.6404 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.1694, allocations: 103.9 kB / 0.6405 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1696, allocations: 10.84 kB / 0.6405 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009337/0.1705, allocations: 261.4 kB / 0.6407 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.838e-05/0.1706, allocations: 71.33 kB / 0.6408 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.368e-05/0.1707, allocations: 19.98 kB / 0.6408 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.1707, allocations: 12.5 kB / 0.6408 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.1707, allocations: 0 / 0.6408 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.003243/0.174, allocations: 0.9351 MB / 0.6417 GB, free: 13.14 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.920731133082882] Failed to read output from testmodel.py, exit status != 0: 0.18212609202601016 0.197147078 0.038282789000000005 Calling exit ...