Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.0009826/0.0009826, allocations: 80.94 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.00112/0.00112, allocations: 177.3 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 1.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.8268/0.8268, allocations: 154.9 MB / 415.1 MB, free: 260 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.656e-05, allocations: 2.312 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002352/0.002389, allocations: 1.55 MB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.003198, allocations: 0.4961 MB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.003244, allocations: 0 / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.003282, allocations: 0.5469 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.56e-05/0.003378, allocations: 5.688 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.003604, allocations: 22.02 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.909e-05/0.003683, allocations: 28.58 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.003778, allocations: 3.984 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.003859, allocations: 22.62 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.185e-05/0.00389, allocations: 8.859 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.003903, allocations: 4 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.003971, allocations: 14.03 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.003988, allocations: 8.656 kB / 482.6 MB, free: 4.371 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.004002, allocations: 6.047 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.004094, allocations: 25.81 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004097, allocations: 1.062 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.004099, allocations: 4 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004102, allocations: 0 / 482.6 MB, free: 4.34 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.0002658/0.004368, allocations: 238.6 kB / 482.8 MB, free: 4.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.004404, allocations: 8.031 kB / 482.8 MB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.00458, allocations: 25.66 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.039e-05/0.00466, allocations: 109.7 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004671, allocations: 4.375 kB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-06/0.004677, allocations: 384 / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.004811, allocations: 59.84 kB / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.004818, allocations: 192 / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.004826, allocations: 5.25 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004832, allocations: 5.141 kB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.004855, allocations: 7.984 kB / 483.1 MB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.005062, allocations: 145.4 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/0.005102, allocations: 26.52 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.005117, allocations: 9.484 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.005129, allocations: 0.625 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.005149, allocations: 34.62 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.00515, allocations: 0.625 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001042/0.005254, allocations: 42.3 kB / 483.3 MB, free: 3.547 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.005281, allocations: 55.97 kB / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.005331, allocations: 110.7 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.00534, allocations: 27.09 kB / 483.5 MB, free: 3.328 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.005366, allocations: 80.14 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.005382, allocations: 8.672 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.005407, allocations: 18.23 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.005477, allocations: 318.8 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.005486, allocations: 0.6562 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.005497, allocations: 5.281 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.468e-05/0.005522, allocations: 13.62 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.005523, allocations: 0 / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.737e-05/0.00557, allocations: 42.53 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.005581, allocations: 8 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.005585, allocations: 0.75 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.005597, allocations: 3.938 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.005676, allocations: 8.609 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.00568, allocations: 6.078 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.0057, allocations: 0 / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005706, allocations: 4 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 4.789e-05/0.005754, allocations: 106.4 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.005767, allocations: 1.062 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.005806, allocations: 18.53 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.00581, allocations: 5 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.005811, allocations: 0.875 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.005813, allocations: 0 / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.568e-05/0.005889, allocations: 70.91 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.00589, allocations: 0 / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.00592, allocations: 11.98 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005921, allocations: 1.438 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.005926, allocations: 1.453 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.005928, allocations: 256 / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005929, allocations: 3.938 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.233e-05/0.006021, allocations: 140.2 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.006028, allocations: 5.562 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.006038, allocations: 4 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.543e-05/0.006073, allocations: 3.984 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.006104, allocations: 11.94 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.006106, allocations: 0.7812 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.127e-05/0.006118, allocations: 8.859 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006118, allocations: 0.5938 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001088/0.006226, allocations: 4 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 (2): * Single equations (assignments): 2 * 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 8.681e-05/0.006313, allocations: 77.84 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.5e-05/0.006368, allocations: 13.8 kB / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.00637, allocations: 3.938 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.006386, allocations: 10.02 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.006539, allocations: 8 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.00675, allocations: 114.1 kB / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.457e-05/0.006795, allocations: 55.95 kB / 484.7 MB, free: 2.039 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.603e-05/0.006821, allocations: 4.062 kB / 484.7 MB, free: 2.039 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.006869, allocations: 55.38 kB / 484.7 MB, free: 1.984 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.00687, allocations: 0 / 484.7 MB, free: 1.984 MB / 442.7 MB Notification: Performance of Templates: time 0.002108/0.008978, allocations: 0.5869 MB / 485.3 MB, free: 1.43 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7680922993458807]