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.0009698/0.0009698, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002273, 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.001079/0.001079, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002386, 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 0.9519/0.9519, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09298/1.045, allocations: 53.65 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/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.7948/0.7948, allocations: 154.6 MB / 398.5 MB, free: 0.5234 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2927/1.088, allocations: 49.04 MB / 447.6 MB, free: 6.691 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/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 1.784e-06/1.784e-06, allocations: 0 / 448.9 MB, free: 5.344 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.817e-05, allocations: 2.312 kB / 448.9 MB, free: 5.34 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001793/0.001821, allocations: 0.6532 MB / 449.6 MB, free: 4.727 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.003206, allocations: 1.174 MB / 450.8 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.003226, allocations: 0 / 450.8 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.26e-06/0.003232, allocations: 0 / 450.8 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.00336, allocations: 20.84 kB / 450.8 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.587e-06/0.003364, allocations: 0 / 450.8 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.155e-05/0.003405, allocations: 5.859 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.003444, allocations: 4.75 kB / 450.8 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.00348, allocations: 6.609 kB / 450.8 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.065e-05/0.00351, allocations: 1.531 kB / 450.8 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.00352, allocations: 0 / 450.8 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.003644, allocations: 16.97 kB / 450.8 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.003653, allocations: 5.344 kB / 450.8 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.119e-05/0.003664, allocations: 1.094 kB / 450.8 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.348e-05/0.003758, allocations: 14.19 kB / 450.8 MB, free: 3.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.715e-05/0.003775, allocations: 0 / 450.8 MB, free: 3.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003776, allocations: 0 / 450.8 MB, free: 3.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.003794, allocations: 0.7656 kB / 450.8 MB, free: 3.48 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.0002743/0.004069, allocations: 225.6 kB / 451.1 MB, free: 3.238 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.004108, allocations: 12.03 kB / 451.1 MB, free: 3.227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.004144, allocations: 0.9375 kB / 451.1 MB, free: 3.227 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.241e-05/0.004217, allocations: 107.7 kB / 451.2 MB, free: 3.098 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.004247, allocations: 4.375 kB / 451.2 MB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.00427, allocations: 1.469 kB / 451.2 MB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.338e-05/0.004353, allocations: 30.27 kB / 451.2 MB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.004363, allocations: 192 / 451.2 MB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.004371, allocations: 1.25 kB / 451.2 MB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.004379, allocations: 4.594 kB / 451.2 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.004415, allocations: 17.2 kB / 451.2 MB, free: 3.039 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.34e-05/0.004509, allocations: 64.73 kB / 451.3 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.004678, allocations: 31.53 kB / 451.3 MB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.004694, allocations: 9.547 kB / 451.3 MB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.0048, allocations: 4 kB / 451.3 MB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.004824, allocations: 36.39 kB / 451.4 MB, free: 2.867 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.004825, allocations: 0 / 451.4 MB, free: 2.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.001033/0.005858, allocations: 341.2 kB / 451.7 MB, free: 2.527 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.005891, allocations: 56.03 kB / 451.8 MB, free: 2.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.79e-05/0.005919, allocations: 97.78 kB / 451.9 MB, free: 2.355 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.005931, allocations: 26.27 kB / 451.9 MB, free: 2.324 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.823e-05/0.005949, allocations: 84.14 kB / 452 MB, free: 2.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.00598, allocations: 13.14 kB / 452 MB, free: 2.227 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.006014, allocations: 22.33 kB / 452 MB, free: 2.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.006086, allocations: 318.8 kB / 452.3 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.006114, allocations: 1.875 kB / 452.3 MB, free: 1.879 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.006154, allocations: 25.23 kB / 452.3 MB, free: 1.848 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.808e-05/0.006222, allocations: 41.94 kB / 452.4 MB, free: 1.801 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006223, allocations: 2.734 kB / 452.4 MB, free: 1.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.4e-05/0.006317, allocations: 60.73 kB / 452.4 MB, free: 1.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.00633, allocations: 4 kB / 452.5 MB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.006334, allocations: 0.625 kB / 452.5 MB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.006343, allocations: 4 kB / 452.5 MB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.006466, allocations: 30.95 kB / 452.5 MB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006469, allocations: 0 / 452.5 MB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.006542, allocations: 26.2 kB / 452.5 MB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.00655, allocations: 4 kB / 452.5 MB, free: 1.676 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.578e-05/0.006605, allocations: 114.6 kB / 452.6 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.006618, allocations: 4 kB / 452.6 MB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.006769, allocations: 87.92 kB / 452.7 MB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.006772, allocations: 0 / 452.7 MB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.006774, allocations: 0 / 452.7 MB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.006778, allocations: 3.938 kB / 452.7 MB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.007004, allocations: 198 kB / 452.9 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.007006, allocations: 0.6562 kB / 452.9 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.007117, allocations: 33.56 kB / 452.9 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.007122, allocations: 1.516 kB / 452.9 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.007124, allocations: 0 / 452.9 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.007134, allocations: 8.938 kB / 453 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.007136, allocations: 0 / 453 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.007138, allocations: 0.9844 kB / 453 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.007259, allocations: 148.2 kB / 453.1 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.007274, allocations: 8.062 kB / 453.1 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.007355, allocations: 17.06 kB / 453.1 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.007369, allocations: 15.09 kB / 453.1 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.007376, allocations: 4 kB / 453.1 MB, free: 1.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.385e-06/0.007385, allocations: 4.859 kB / 453.2 MB, free: 1.012 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007385, allocations: 4.625 kB / 453.2 MB, free: 1.008 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.007514, allocations: 8 kB / 453.2 MB, free: 1 MB / 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 0.0001449/0.007658, allocations: 83.23 kB / 453.2 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.007761, allocations: 27.86 kB / 453.3 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.007764, allocations: 0.7812 kB / 453.3 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.298e-05/0.007797, allocations: 22.28 kB / 453.3 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.007897, allocations: 5.781 kB / 453.3 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.008147, allocations: 127.1 kB / 453.4 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.049e-05/0.008178, allocations: 60.59 kB / 453.5 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.008282, allocations: 28.38 kB / 453.5 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.00835, allocations: 51.92 kB / 453.6 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00835, allocations: 0 / 453.6 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of Templates: time 0.002245/0.0106, allocations: 0.921 MB / 454.5 MB, free: 15.71 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.564874494448304]