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.000915/0.000915, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009025/0.0009025, allocations: 177 kB / 23.36 MB, free: 1.137 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.9944/0.9944, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.7659/0.7659, allocations: 154.9 MB / 415.1 MB, free: 264 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.503e-06/1.503e-06, allocations: 0 / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.61e-05, allocations: 2.312 kB / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001847/0.001863, allocations: 0.6256 MB / 481 MB, free: 5.918 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.003449, allocations: 1.165 MB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.003476, allocations: 0.7188 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.003489, allocations: 0 / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.003713, allocations: 25.84 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.837e-06/0.003722, allocations: 0 / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.737e-05/0.00376, allocations: 2.156 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.0038, allocations: 10.48 kB / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.503e-05/0.003825, allocations: 0.7656 kB / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.427e-05/0.003849, allocations: 0.9844 kB / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.003857, allocations: 0 / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.003968, allocations: 23.88 kB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.003979, allocations: 4 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.669e-06/0.003988, allocations: 0.7656 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.334e-05/0.004062, allocations: 12.73 kB / 482.3 MB, free: 4.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004064, allocations: 0.5469 kB / 482.3 MB, free: 4.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004064, allocations: 0 / 482.3 MB, free: 4.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.004067, allocations: 0.9062 kB / 482.3 MB, free: 4.68 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.0001906/0.004258, allocations: 223.8 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.004291, allocations: 9.688 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.004503, allocations: 16.92 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.851e-05/0.004571, allocations: 106.9 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.004582, allocations: 384 / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.004602, allocations: 4.375 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.068e-05/0.004683, allocations: 38.81 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.004692, allocations: 1.5 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.0047, allocations: 1 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.004706, allocations: 3.938 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.68e-05/0.004733, allocations: 12 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.806e-05/0.004821, allocations: 65.64 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.004951, allocations: 22.58 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.004969, allocations: 13.61 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.004982, allocations: 0.5938 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.005004, allocations: 34.56 kB / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005005, allocations: 4.75 kB / 482.8 MB, free: 4.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.001101/0.006106, allocations: 247.4 kB / 483.1 MB, free: 3.824 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.00614, allocations: 52 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.177e-05/0.006171, allocations: 96.11 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.006189, allocations: 25.7 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.294e-05/0.006212, allocations: 80.14 kB / 483.3 MB, free: 3.547 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.006249, allocations: 16.2 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.006303, allocations: 26.38 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.006388, allocations: 310.8 kB / 483.7 MB, free: 3.188 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.006432, allocations: 5.594 kB / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.327e-05/0.006485, allocations: 30.19 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.006589, allocations: 43.45 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006591, allocations: 4 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001397/0.006731, allocations: 57.75 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006743, allocations: 4 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.006747, allocations: 0 / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.006761, allocations: 4 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.006946, allocations: 34.34 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.006949, allocations: 0 / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.007074, allocations: 22.59 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.007088, allocations: 5.266 kB / 483.9 MB, free: 2.977 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 7.277e-05/0.00716, allocations: 113.8 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.007183, allocations: 7.938 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.00723, allocations: 7.562 kB / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007232, allocations: 1.781 kB / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.007234, allocations: 0.5469 kB / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.007238, allocations: 3.938 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.00753, allocations: 193.5 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007532, allocations: 0.8125 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.007653, allocations: 37.53 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007655, allocations: 2.469 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.007664, allocations: 4 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.007666, allocations: 0 / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.007668, allocations: 7.938 kB / 484.3 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.007776, allocations: 142 kB / 484.4 MB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.007782, allocations: 4 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.007795, allocations: 3.984 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.06e-05/0.007885, allocations: 22.41 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.007896, allocations: 8.797 kB / 484.4 MB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.007905, allocations: 9.625 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.082e-06/0.007911, allocations: 4.859 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007911, allocations: 0 / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001243/0.008036, allocations: 8 kB / 484.4 MB, free: 2.375 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.362e-05/0.008109, allocations: 85.83 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.008201, allocations: 28.44 kB / 484.6 MB, free: 2.254 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008203, allocations: 0 / 484.6 MB, free: 2.254 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.008238, allocations: 23.61 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.409e-05/0.008332, allocations: 9.188 kB / 484.6 MB, free: 2.223 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.008577, allocations: 121 kB / 484.7 MB, free: 2.082 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.728e-05/0.008604, allocations: 51.36 kB / 484.8 MB, free: 2.012 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.008712, allocations: 33.22 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.00879, allocations: 59.36 kB / 484.9 MB, free: 1.945 MB / 442.7 MB Notification: Performance of SimCode: time 3.7e-07/0.00879, allocations: 0.7812 kB / 484.9 MB, free: 1.945 MB / 442.7 MB Notification: Performance of Templates: time 0.001987/0.01078, allocations: 0.8739 MB / 485.7 MB, free: 1.117 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.5374079472385347]