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.001383/0.001383, 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.001918/0.001918, allocations: 177 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.9959/0.9959, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.856/0.856, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0.7656 kB / 480.1 MB, free: 6.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.635e-05, allocations: 2.844 kB / 480.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002121/0.002148, allocations: 0.6113 MB / 480.7 MB, free: 6.289 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.003743, allocations: 1.174 MB / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.003773, allocations: 0 / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.003789, allocations: 0 / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.004049, allocations: 24.41 kB / 481.9 MB, free: 5.086 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.004052, allocations: 0 / 481.9 MB, free: 5.086 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.268e-05/0.004094, allocations: 1.094 kB / 481.9 MB, free: 5.086 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.004142, allocations: 4.656 kB / 481.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.004172, allocations: 5.766 kB / 481.9 MB, free: 5.078 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.829e-05/0.004201, allocations: 0.875 kB / 481.9 MB, free: 5.078 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.00421, allocations: 1.562 kB / 481.9 MB, free: 5.078 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.004326, allocations: 17.73 kB / 481.9 MB, free: 5.062 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.004337, allocations: 0 / 481.9 MB, free: 5.062 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.292e-05/0.004349, allocations: 5.203 kB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.361e-05/0.004433, allocations: 13.06 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004436, allocations: 0.7812 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004437, allocations: 0 / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.00444, allocations: 1 kB / 481.9 MB, free: 5.047 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.0002158/0.004655, allocations: 227.7 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.004691, allocations: 8.781 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.004718, allocations: 4.938 kB / 482.2 MB, free: 4.793 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.04e-05/0.004779, allocations: 103 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.00479, allocations: 1.359 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.004815, allocations: 4.375 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.354e-05/0.004889, allocations: 30.25 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.004903, allocations: 4.75 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.004912, allocations: 5.5 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.004919, allocations: 3.938 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.781e-05/0.004947, allocations: 4 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.00506, allocations: 61.7 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.00525, allocations: 31.06 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.005269, allocations: 9.844 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.005402, allocations: 9.234 kB / 482.4 MB, free: 4.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.005435, allocations: 30.56 kB / 482.4 MB, free: 4.441 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.005437, allocations: 0 / 482.4 MB, free: 4.441 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.001443/0.00688, allocations: 273.4 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.006919, allocations: 51.41 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.437e-05/0.006953, allocations: 95.33 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.006971, allocations: 25.7 kB / 482.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.006995, allocations: 80.14 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.007038, allocations: 20.86 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.007091, allocations: 22.69 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.007183, allocations: 310.8 kB / 483.3 MB, free: 3.551 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.007228, allocations: 5.812 kB / 483.3 MB, free: 3.547 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.007286, allocations: 32.59 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.972e-05/0.007385, allocations: 38.59 kB / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007387, allocations: 5.641 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001406/0.007528, allocations: 48.5 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.007542, allocations: 9.438 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.007547, allocations: 0 / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.00756, allocations: 3.938 kB / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.007743, allocations: 30.92 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.007746, allocations: 0 / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.007866, allocations: 30.64 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.007878, allocations: 0 / 483.5 MB, free: 3.344 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 8.258e-05/0.007961, allocations: 118.4 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.007981, allocations: 2.219 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.008196, allocations: 79.72 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.008199, allocations: 0 / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.0082, allocations: 0.875 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.008205, allocations: 4.906 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.008502, allocations: 198.6 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.008504, allocations: 0 / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.008664, allocations: 29.42 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.008667, allocations: 5.656 kB / 483.9 MB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.008683, allocations: 4.734 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.008686, allocations: 0 / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.008689, allocations: 4.703 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.008861, allocations: 146.6 kB / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.008869, allocations: 4.625 kB / 484.1 MB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.008888, allocations: 4 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.009039, allocations: 23.45 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.009052, allocations: 3.938 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.009066, allocations: 7.984 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.744e-06/0.009074, allocations: 5.625 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009074, allocations: 0.6562 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.009329, allocations: 12 kB / 484.1 MB, free: 2.676 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 0.0002069/0.009536, allocations: 81.67 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.009685, allocations: 32.38 kB / 484.3 MB, free: 2.555 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.009689, allocations: 0 / 484.3 MB, free: 2.555 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.009743, allocations: 23.55 kB / 484.3 MB, free: 2.531 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.00991, allocations: 3.938 kB / 484.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.01027, allocations: 122.4 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.01031, allocations: 60.28 kB / 484.5 MB, free: 2.309 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.01047, allocations: 26.41 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.01057, allocations: 53.33 kB / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01057, allocations: 0 / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of Templates: time 0.003121/0.01369, allocations: 0.9224 MB / 485.5 MB, free: 1.395 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6263988772407174]