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.001454/0.001454, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001441/0.001441, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9862/0.9862, allocations: 177.2 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.9142/0.9142, allocations: 154.9 MB / 415.2 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 1.773e-06/1.773e-06, allocations: 0 / 480.5 MB, free: 6.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.691e-05, allocations: 2.312 kB / 480.5 MB, free: 6.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002251/0.002278, allocations: 0.6577 MB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003722, allocations: 1.169 MB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.003747, allocations: 0 / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.003763, allocations: 2.094 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.003972, allocations: 28.83 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.888e-06/0.003976, allocations: 0 / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.009e-05/0.004016, allocations: 1.938 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.004052, allocations: 7.984 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.666e-05/0.004079, allocations: 1.531 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.541e-05/0.004104, allocations: 1.75 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.904e-06/0.004112, allocations: 0 / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.004224, allocations: 21.59 kB / 482.4 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.004234, allocations: 1.531 kB / 482.4 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.023e-05/0.004244, allocations: 5.328 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.943e-05/0.004314, allocations: 4.766 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004316, allocations: 4.703 kB / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.004317, allocations: 0 / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.004321, allocations: 6.25 kB / 482.4 MB, free: 4.586 MB / 442.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.0001794/0.0045, allocations: 223.8 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.004532, allocations: 8.031 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.004723, allocations: 20.91 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.707e-05/0.00478, allocations: 102.3 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.004789, allocations: 1.25 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.004806, allocations: 4.375 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.004873, allocations: 39.92 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.00488, allocations: 192 / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.004887, allocations: 1.031 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.004893, allocations: 5.641 kB / 482.8 MB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.852e-05/0.004922, allocations: 11.92 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.975e-05/0.005002, allocations: 61.67 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.005113, allocations: 31.23 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.18e-05/0.005125, allocations: 4.859 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.005135, allocations: 1.828 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.005154, allocations: 35.19 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.005155, allocations: 1.594 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007759/0.005931, allocations: 248.4 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.005957, allocations: 51.41 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.649e-05/0.005984, allocations: 97.78 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.005996, allocations: 26.36 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.843e-05/0.006015, allocations: 80.73 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.006047, allocations: 20.19 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.006084, allocations: 19.16 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.006156, allocations: 318.8 kB / 483.8 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.006186, allocations: 10.72 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.237e-05/0.006229, allocations: 24.02 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.159e-05/0.0063, allocations: 34.88 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006301, allocations: 0 / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001009/0.006402, allocations: 65.17 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.006413, allocations: 4.875 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.006417, allocations: 0 / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.006427, allocations: 4.656 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.006557, allocations: 31.28 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.00656, allocations: 0 / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.513e-05/0.006645, allocations: 26.98 kB / 484 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.006655, allocations: 4 kB / 484 MB, free: 2.883 MB / 442.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.349e-05/0.006708, allocations: 109.8 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.006722, allocations: 4.875 kB / 484.1 MB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.006757, allocations: 15.33 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.006758, allocations: 0 / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.00676, allocations: 0.75 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.006764, allocations: 7.938 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.006988, allocations: 198 kB / 484.3 MB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.006989, allocations: 5 kB / 484.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.007105, allocations: 25.92 kB / 484.3 MB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.007107, allocations: 5.828 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.007119, allocations: 11.98 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.00712, allocations: 1.781 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.007122, allocations: 3.938 kB / 484.4 MB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.007233, allocations: 141.9 kB / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.007237, allocations: 0.9375 kB / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.00725, allocations: 0 / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.007349, allocations: 29.61 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.007359, allocations: 5.875 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.007367, allocations: 3.984 kB / 484.5 MB, free: 2.297 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.951e-06/0.007373, allocations: 4.859 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007373, allocations: 0.7656 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001353/0.007508, allocations: 8 kB / 484.5 MB, free: 2.281 MB / 442.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.806e-05/0.007586, allocations: 81.61 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.007695, allocations: 35.98 kB / 484.7 MB, free: 2.156 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.007697, allocations: 5.25 kB / 484.7 MB, free: 2.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.007733, allocations: 13.89 kB / 484.7 MB, free: 2.137 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.007845, allocations: 8.984 kB / 484.7 MB, free: 2.129 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.008107, allocations: 121.8 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.178e-05/0.008138, allocations: 63.28 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.008255, allocations: 30.16 kB / 484.9 MB, free: 1.906 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.008333, allocations: 55.38 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008333, allocations: 0 / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of Templates: time 0.002056/0.01039, allocations: 0.8709 MB / 485.8 MB, free: 1.023 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8996748621575534]