Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001309/0.001309, allocations: 77.55 kB / 19.76 MB, free: 2.027 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: 162.4 kB / 23.02 MB, free: 4.949 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.399/1.399, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8027/0.8027, allocations: 101.3 MB / 361.1 MB, free: 9.547 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: IDEAS 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.002094/0.002094, allocations: 66.95 kB / 0.5357 GB, free: 5.215 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1426, allocations: 85.88 MB / 0.6195 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00174/0.1444, allocations: 0.5953 MB / 0.6201 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1459, allocations: 1.128 MB / 0.6212 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.1459, allocations: 0 / 0.6212 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1459, allocations: 3.938 kB / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1461, allocations: 19.91 kB / 0.6212 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.416e-06/0.1461, allocations: 0 / 0.6212 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.033e-05/0.1462, allocations: 0 / 0.6212 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.1462, allocations: 7.938 kB / 0.6213 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.604e-05/0.1462, allocations: 0 / 0.6213 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.36e-05/0.1462, allocations: 7.984 kB / 0.6213 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.172e-06/0.1463, allocations: 0 / 0.6213 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.1463, allocations: 15.92 kB / 0.6213 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.1464, allocations: 4 kB / 0.6213 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.1464, allocations: 7.938 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.827e-05/0.1465, allocations: 23.91 kB / 0.6213 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1465, allocations: 0 / 0.6213 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1465, allocations: 0 / 0.6213 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.1465, allocations: 0 / 0.6213 GB, free: 15.69 MB / 0.5294 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.0002724/0.1467, allocations: 242.4 kB / 0.6215 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1468, allocations: 8.031 kB / 0.6216 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.1468, allocations: 4.891 kB / 0.6216 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.974e-05/0.1469, allocations: 110.5 kB / 0.6217 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1469, allocations: 8.375 kB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1469, allocations: 8.25 kB / 0.6217 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.818e-05/0.147, allocations: 38 kB / 0.6217 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.147, allocations: 0 / 0.6217 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.147, allocations: 0 / 0.6217 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.147, allocations: 4 kB / 0.6217 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.1471, allocations: 4 kB / 0.6217 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.1472, allocations: 101.3 kB / 0.6218 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1474, allocations: 34.52 kB / 0.6218 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.1474, allocations: 12.98 kB / 0.6219 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.1475, allocations: 4 kB / 0.6219 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1475, allocations: 38.56 kB / 0.6219 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1475, allocations: 0 / 0.6219 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004614/0.1521, allocations: 0.5715 MB / 0.6225 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.1522, allocations: 51.41 kB / 0.6225 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.769e-05/0.1522, allocations: 89.86 kB / 0.6226 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.1523, allocations: 29.64 kB / 0.6226 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.1523, allocations: 80.14 kB / 0.6227 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.1523, allocations: 27.78 kB / 0.6227 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.1524, allocations: 17.72 kB / 0.6227 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1525, allocations: 318.8 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006711/0.1532, allocations: 79.95 kB / 0.6231 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/0.1539, allocations: 102.5 kB / 0.6232 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.1552, allocations: 194.4 kB / 0.6234 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1552, allocations: 0 / 0.6234 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001417/0.1566, allocations: 210 kB / 0.6236 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1566, allocations: 11.92 kB / 0.6236 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1566, allocations: 4 kB / 0.6236 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1566, allocations: 0 / 0.6236 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.1571, allocations: 48 kB / 0.6237 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1571, allocations: 4 kB / 0.6237 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.1575, allocations: 35.98 kB / 0.6237 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1575, allocations: 7.938 kB / 0.6237 GB, free: 13.04 MB / 0.5294 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.268e-05/0.1576, allocations: 118.9 kB / 0.6238 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1576, allocations: 11.92 kB / 0.6238 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.1591, allocations: 229.2 kB / 0.6241 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1591, allocations: 4 kB / 0.6241 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1591, allocations: 0 / 0.6241 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1591, allocations: 0 / 0.6241 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.1607, allocations: 414.2 kB / 0.6245 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1607, allocations: 0 / 0.6245 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.1611, allocations: 47.97 kB / 0.6245 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1611, allocations: 0 / 0.6245 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1611, allocations: 3.938 kB / 0.6245 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1611, allocations: 4 kB / 0.6245 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1611, allocations: 0 / 0.6245 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.1625, allocations: 307.3 kB / 0.6248 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.1625, allocations: 4 kB / 0.6248 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1625, allocations: 0 / 0.6248 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.1629, allocations: 39.98 kB / 0.6248 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.163, allocations: 3.984 kB / 0.6248 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.163, allocations: 4 kB / 0.6249 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.163, allocations: 83.22 kB / 0.6249 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.163, allocations: 0 / 0.6249 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00025/0.1633, allocations: 8 kB / 0.6249 GB, free: 11.71 MB / 0.5294 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.0001424/0.1634, allocations: 107.2 kB / 0.625 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.1648, allocations: 179.9 kB / 0.6252 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1648, allocations: 0 / 0.6252 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.1655, allocations: 88.08 kB / 0.6253 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1657, allocations: 10.12 kB / 0.6253 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1669, allocations: 220.8 kB / 0.6255 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.406e-05/0.167, allocations: 55.36 kB / 0.6256 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000166/0.1671, allocations: 35.94 kB / 0.6256 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.1672, allocations: 12.48 kB / 0.6256 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1672, allocations: 0 / 0.6256 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.002996/0.1702, allocations: 0.8139 MB / 0.6264 GB, free: 10.16 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9704658390255645] Failed to read output from testmodel.py, exit status != 0: 0.17737635702360421 0.19203229700000002 0.042564949000000005 Calling exit ...