Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.001196/0.001196, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001303/0.001303, allocations: 156 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.349/1.349, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.8203/0.8203, allocations: 110.3 MB / 370.1 MB, free: 15.68 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") [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.002019/0.002019, allocations: 79.97 kB / 0.5483 GB, free: 13.3 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.1483/0.1503, allocations: 87.86 MB / 0.6341 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002837/0.1531, allocations: 1.481 MB / 0.6356 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1542, allocations: 0.5775 MB / 0.6361 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.1542, allocations: 3.938 kB / 0.6361 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.1543, allocations: 0 / 0.6361 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.1543, allocations: 11.92 kB / 0.6361 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1546, allocations: 63.75 kB / 0.6362 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.1547, allocations: 27.92 kB / 0.6362 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.1548, allocations: 3.938 kB / 0.6362 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1549, allocations: 23.92 kB / 0.6363 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.1549, allocations: 19.91 kB / 0.6363 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.1549, allocations: 0 / 0.6363 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1551, allocations: 51.95 kB / 0.6363 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.1551, allocations: 7.938 kB / 0.6363 GB, free: 3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.1551, allocations: 15.94 kB / 0.6364 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.1552, allocations: 71.73 kB / 0.6364 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1553, allocations: 3.984 kB / 0.6364 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1553, allocations: 0 / 0.6364 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1553, allocations: 0 / 0.6364 GB, free: 2.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003968/0.1557, allocations: 274.2 kB / 0.6367 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.1557, allocations: 8.031 kB / 0.6367 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1558, allocations: 16.88 kB / 0.6367 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.156, allocations: 122.4 kB / 0.6368 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.156, allocations: 8.375 kB / 0.6368 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.156, allocations: 384 / 0.6368 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1562, allocations: 46 kB / 0.6369 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1562, allocations: 0 / 0.6369 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.1562, allocations: 0 / 0.6369 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1562, allocations: 0 / 0.6369 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.598e-05/0.1563, allocations: 23.92 kB / 0.6369 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.1565, allocations: 196.6 kB / 0.6371 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.971e-05/0.1566, allocations: 34.5 kB / 0.6371 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.1567, allocations: 20.92 kB / 0.6371 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006031/0.1573, allocations: 95.8 kB / 0.6372 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1573, allocations: 34.56 kB / 0.6373 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1573, allocations: 0 / 0.6373 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002043/0.1575, allocations: 69.61 kB / 0.6373 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1575, allocations: 51.41 kB / 0.6374 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.1576, allocations: 113.8 kB / 0.6375 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1576, allocations: 25.7 kB / 0.6375 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.1577, allocations: 92.09 kB / 0.6376 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.1577, allocations: 3.953 kB / 0.6376 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1577, allocations: 17.7 kB / 0.6376 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1579, allocations: 314.8 kB / 0.6379 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.1579, allocations: 11.98 kB / 0.6379 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.158, allocations: 12.12 kB / 0.6379 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.158, allocations: 28.78 kB / 0.638 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.158, allocations: 0 / 0.638 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001201/0.1582, allocations: 53.62 kB / 0.638 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1582, allocations: 8 kB / 0.638 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1582, allocations: 3.984 kB / 0.638 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1582, allocations: 0 / 0.638 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.817e-05/0.1582, allocations: 4 kB / 0.638 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.1582, allocations: 4.094 kB / 0.638 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.1583, allocations: 4 kB / 0.638 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1583, allocations: 0 / 0.638 GB, free: 1.074 MB / 0.5919 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 (2): * Single equations (assignments): 2 * 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 8.998e-05/0.1584, allocations: 121.8 kB / 0.6382 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.1584, allocations: 3.953 kB / 0.6382 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.1585, allocations: 65.23 kB / 0.6382 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1585, allocations: 0 / 0.6382 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1585, allocations: 0 / 0.6382 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1586, allocations: 7.984 kB / 0.6382 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.1587, allocations: 113.3 kB / 0.6383 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1587, allocations: 3.938 kB / 0.6383 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.1587, allocations: 4 kB / 0.6384 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1587, allocations: 0 / 0.6384 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.1587, allocations: 4 kB / 0.6384 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1587, allocations: 0 / 0.6384 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1587, allocations: 3.938 kB / 0.6384 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1589, allocations: 155.5 kB / 0.6385 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.1589, allocations: 7.891 kB / 0.6385 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.1589, allocations: 32 / 0.6385 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/0.159, allocations: 8 kB / 0.6385 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.159, allocations: 3.984 kB / 0.6385 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.159, allocations: 0 / 0.6385 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.615e-05/0.1591, allocations: 91.59 kB / 0.6386 GB, free: 440 kB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1591, allocations: 0 / 0.6386 GB, free: 440 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002327/0.1593, allocations: 19.92 kB / 0.6386 GB, free: 420 kB / 0.5919 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 (2): * Single equations (assignments): 2 * 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.0001482/0.1595, allocations: 115.2 kB / 0.6387 GB, free: 292 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.1596, allocations: 27.97 kB / 0.6388 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1596, allocations: 0 / 0.6388 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.1596, allocations: 15.94 kB / 0.6388 GB, free: 248 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.1598, allocations: 3.938 kB / 0.6388 GB, free: 244 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.1601, allocations: 130.9 kB / 0.6389 GB, free: 88 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.258e-05/0.1602, allocations: 67.33 kB / 0.639 GB, free: 0 / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.1602, allocations: 4.047 kB / 0.639 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.1602, allocations: 8.5 kB / 0.639 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.1602, allocations: 4.125 kB / 0.639 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.002667/0.1629, allocations: 0.6838 MB / 0.6397 GB, free: 15.31 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9828362370608374] Failed to read output from testmodel.py, exit status != 0: 0.17098541802261025 0.18552874100000002 0.0271646 Calling exit ...