Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001142/0.001142, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001709/0.002852, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001166/0.001166, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00152/0.002686, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.011/1.011, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08714/1.099, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7749/0.7749, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2706/1.046, allocations: 49.13 MB / 448.4 MB, free: 6.043 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 449.7 MB, free: 4.691 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.066e-05, allocations: 8.5 kB / 449.8 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001202/0.001222, allocations: 0.6458 MB / 450.4 MB, free: 4.07 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009924/0.002215, allocations: 1.172 MB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.002233, allocations: 0.7656 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.258e-06/0.002237, allocations: 0 / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.00234, allocations: 21.08 kB / 451.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.605e-06/0.002343, allocations: 0 / 451.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 3.75e-05/0.00238, allocations: 5.859 kB / 451.6 MB, free: 2.867 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.002419, allocations: 9.266 kB / 451.6 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.002447, allocations: 1.75 kB / 451.6 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.692e-05/0.002474, allocations: 5.531 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.002482, allocations: 0.7656 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.002581, allocations: 17.41 kB / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-06/0.002588, allocations: 0 / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.627e-06/0.002596, allocations: 3.078 kB / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.261e-05/0.002669, allocations: 13.14 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.002684, allocations: 0 / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.002685, allocations: 0 / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.0027, allocations: 0 / 451.6 MB, free: 2.828 MB / 426.7 MB 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.0002163/0.002916, allocations: 230.8 kB / 451.9 MB, free: 2.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.002943, allocations: 8.906 kB / 451.9 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.003181, allocations: 94.02 kB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.134e-05/0.003232, allocations: 105.8 kB / 452.1 MB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.003241, allocations: 384 / 452.1 MB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.003255, allocations: 384 / 452.1 MB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.452e-05/0.00332, allocations: 34.78 kB / 452.1 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.003329, allocations: 10.14 kB / 452.1 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.003335, allocations: 0.8906 kB / 452.1 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.00334, allocations: 4.922 kB / 452.1 MB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.003366, allocations: 12.97 kB / 452.1 MB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.088e-05/0.003437, allocations: 64.73 kB / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.003553, allocations: 27.33 kB / 452.2 MB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.075e-05/0.003564, allocations: 8.859 kB / 452.2 MB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.003579, allocations: 0.7812 kB / 452.2 MB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.003597, allocations: 34.56 kB / 452.3 MB, free: 2.109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.003598, allocations: 0.625 kB / 452.3 MB, free: 2.109 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007231/0.004321, allocations: 238.9 kB / 452.5 MB, free: 1.887 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.004351, allocations: 61.48 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.837e-05/0.004379, allocations: 97.78 kB / 452.7 MB, free: 1.711 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.004391, allocations: 29.64 kB / 452.7 MB, free: 1.676 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.819e-05/0.004409, allocations: 80.14 kB / 452.8 MB, free: 1.594 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.004438, allocations: 16.7 kB / 452.8 MB, free: 1.578 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.004474, allocations: 21.7 kB / 452.8 MB, free: 1.551 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.004543, allocations: 315.8 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.004573, allocations: 6.75 kB / 453.1 MB, free: 1.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.00461, allocations: 23.81 kB / 453.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.814e-05/0.004678, allocations: 43.09 kB / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.004679, allocations: 0 / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.903e-05/0.004778, allocations: 57.19 kB / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.004789, allocations: 6.031 kB / 453.2 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.004793, allocations: 1.734 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.004801, allocations: 192 / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.004933, allocations: 43.08 kB / 453.3 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.004935, allocations: 0 / 453.3 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.299e-05/0.005008, allocations: 21.69 kB / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.005017, allocations: 7.984 kB / 453.3 MB, free: 1.023 MB / 426.7 MB 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 5.767e-05/0.005075, allocations: 111 kB / 453.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.005087, allocations: 4 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.005118, allocations: 7.188 kB / 453.4 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.00512, allocations: 2.016 kB / 453.4 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.005121, allocations: 0 / 453.4 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.005125, allocations: 7.938 kB / 453.5 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.005338, allocations: 206.1 kB / 453.7 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.00534, allocations: 0 / 453.7 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.005451, allocations: 34 kB / 453.7 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.005456, allocations: 4.719 kB / 453.7 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.005457, allocations: 0.6562 kB / 453.7 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.005466, allocations: 10.59 kB / 453.7 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.005468, allocations: 0 / 453.7 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005468, allocations: 0 / 453.7 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.005573, allocations: 145.9 kB / 453.8 MB, free: 480 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.005587, allocations: 4 kB / 453.8 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.005677, allocations: 22.53 kB / 453.9 MB, free: 456 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.005686, allocations: 4.812 kB / 453.9 MB, free: 452 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.005693, allocations: 4.938 kB / 453.9 MB, free: 448 kB / 426.7 MB Notification: Performance of sorting global known variables: time 5.471e-06/0.005699, allocations: 5.516 kB / 453.9 MB, free: 440 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005699, allocations: 0 / 453.9 MB, free: 440 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001221/0.005821, allocations: 9.469 kB / 453.9 MB, free: 432 kB / 426.7 MB 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 7.822e-05/0.005899, allocations: 80.41 kB / 454 MB, free: 340 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.006003, allocations: 33.16 kB / 454 MB, free: 308 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.006007, allocations: 3.984 kB / 454 MB, free: 304 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.006039, allocations: 19.11 kB / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.863e-05/0.006137, allocations: 12.86 kB / 454 MB, free: 272 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.006377, allocations: 124.6 kB / 454.2 MB, free: 128 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.308e-05/0.00641, allocations: 63.2 kB / 454.2 MB, free: 44 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.006518, allocations: 29.88 kB / 454.3 MB, free: 40 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.006605, allocations: 51.38 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/0.006606, allocations: 0 / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of Templates: time 0.002025/0.008631, allocations: 0.8858 MB / 455.2 MB, free: 15.15 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.637426289729774]