Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0016/0.0016, allocations: 71.67 kB / 20.51 MB, free: 1.285 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.001768/0.001768, allocations: 165.7 kB / 23.76 MB, free: 4.473 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.428/1.428, allocations: 177.2 MB / 204.1 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.914/0.914, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: IBPSA 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.002077/0.002077, allocations: 72.2 kB / 0.5551 GB, free: 2.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1555, allocations: 89.14 MB / 0.6421 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001691/0.1572, allocations: 0.5758 MB / 0.6427 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1587, allocations: 1.132 MB / 0.6438 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.1588, allocations: 4 kB / 0.6438 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.064e-05/0.1588, allocations: 0 / 0.6438 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.159, allocations: 19.86 kB / 0.6438 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.547e-06/0.159, allocations: 0 / 0.6438 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.298e-05/0.159, allocations: 7.938 kB / 0.6438 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.202e-05/0.1591, allocations: 3.938 kB / 0.6438 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.351e-05/0.1591, allocations: 3.984 kB / 0.6438 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.764e-05/0.1591, allocations: 8 kB / 0.6438 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-06/0.1591, allocations: 0 / 0.6438 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.516e-05/0.1592, allocations: 19.92 kB / 0.6439 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.845e-06/0.1592, allocations: 0 / 0.6439 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.1592, allocations: 3.938 kB / 0.6439 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.654e-05/0.1593, allocations: 23.91 kB / 0.6439 GB, free: 7.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1593, allocations: 0 / 0.6439 GB, free: 7.637 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1593, allocations: 0 / 0.6439 GB, free: 7.637 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1593, allocations: 0 / 0.6439 GB, free: 7.637 MB / 0.545 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.0002645/0.1596, allocations: 234.4 kB / 0.6441 GB, free: 7.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1596, allocations: 12.03 kB / 0.6441 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.1598, allocations: 16.91 kB / 0.6441 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.026e-05/0.1599, allocations: 110.5 kB / 0.6442 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1599, allocations: 384 / 0.6442 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1599, allocations: 384 / 0.6442 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.16, allocations: 45.94 kB / 0.6443 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1601, allocations: 0 / 0.6443 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1601, allocations: 0 / 0.6443 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1601, allocations: 0 / 0.6443 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.846e-05/0.1601, allocations: 11.98 kB / 0.6443 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.1603, allocations: 101.3 kB / 0.6444 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1604, allocations: 42.59 kB / 0.6444 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.1604, allocations: 8.859 kB / 0.6444 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.1605, allocations: 0 / 0.6444 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1605, allocations: 38.5 kB / 0.6445 GB, free: 6.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1605, allocations: 3.938 kB / 0.6445 GB, free: 6.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.004167/0.1646, allocations: 0.5404 MB / 0.645 GB, free: 6.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1647, allocations: 63.39 kB / 0.6451 GB, free: 6.293 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.058e-05/0.1647, allocations: 89.86 kB / 0.6452 GB, free: 6.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1648, allocations: 25.7 kB / 0.6452 GB, free: 6.164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.1648, allocations: 80.14 kB / 0.6453 GB, free: 6.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.1648, allocations: 19.8 kB / 0.6453 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.1649, allocations: 21.7 kB / 0.6453 GB, free: 6.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.165, allocations: 314.8 kB / 0.6456 GB, free: 5.719 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/0.1657, allocations: 83.95 kB / 0.6457 GB, free: 5.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.1664, allocations: 102.5 kB / 0.6458 GB, free: 5.527 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.1676, allocations: 190.4 kB / 0.646 GB, free: 5.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1676, allocations: 0 / 0.646 GB, free: 5.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001327/0.169, allocations: 217.6 kB / 0.6462 GB, free: 5.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.169, allocations: 15.88 kB / 0.6462 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.169, allocations: 0 / 0.6462 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.169, allocations: 0 / 0.6462 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/0.1694, allocations: 52 kB / 0.6462 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1694, allocations: 0 / 0.6462 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.1698, allocations: 43.97 kB / 0.6463 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1698, allocations: 4 kB / 0.6463 GB, free: 5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 9.034e-05/0.1699, allocations: 116.8 kB / 0.6464 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.1699, allocations: 7.938 kB / 0.6464 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.17, allocations: 7.656 kB / 0.6464 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.17, allocations: 0 / 0.6464 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.17, allocations: 0 / 0.6464 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.17, allocations: 7.984 kB / 0.6464 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.1716, allocations: 398.1 kB / 0.6468 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1716, allocations: 4 kB / 0.6468 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.172, allocations: 51.91 kB / 0.6468 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.172, allocations: 0 / 0.6468 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.172, allocations: 3.984 kB / 0.6469 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.172, allocations: 4 kB / 0.6469 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.172, allocations: 0 / 0.6469 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.1734, allocations: 315.6 kB / 0.6472 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.1734, allocations: 4 kB / 0.6472 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1734, allocations: 3.938 kB / 0.6472 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.1738, allocations: 39.98 kB / 0.6472 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.1738, allocations: 3.984 kB / 0.6472 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1738, allocations: 4 kB / 0.6472 GB, free: 3.988 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.1739, allocations: 75.28 kB / 0.6473 GB, free: 3.914 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1739, allocations: 0 / 0.6473 GB, free: 3.914 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002501/0.1741, allocations: 12 kB / 0.6473 GB, free: 3.902 MB / 0.545 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 (5): * Single equations (assignments): 5 * 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.0001192/0.1743, allocations: 99.19 kB / 0.6474 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.1756, allocations: 180 kB / 0.6476 GB, free: 3.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1756, allocations: 0 / 0.6476 GB, free: 3.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.1763, allocations: 88.02 kB / 0.6476 GB, free: 3.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1765, allocations: 18.52 kB / 0.6477 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1777, allocations: 208.8 kB / 0.6479 GB, free: 3.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.513e-05/0.1778, allocations: 59.34 kB / 0.6479 GB, free: 3.207 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001786/0.178, allocations: 28 kB / 0.6479 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.178, allocations: 20.48 kB / 0.648 GB, free: 3.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.178, allocations: 0 / 0.648 GB, free: 3.16 MB / 0.545 GB Notification: Performance of Templates: time 0.002911/0.1809, allocations: 0.7795 MB / 0.6487 GB, free: 2.391 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.162510232999921] Failed to read output from testmodel.py, exit status != 0: 0.18952069093938917 0.203847082 0.041604849 Calling exit ...