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.001527/0.001527, 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.001583/0.001583, allocations: 173 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.9036/0.9036, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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 1.332e-06/1.332e-06, allocations: 0 / 480.1 MB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.637e-05, allocations: 4.984 kB / 480.1 MB, free: 6.859 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001694/0.001721, allocations: 0.6575 MB / 480.8 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.003098, allocations: 1.162 MB / 481.9 MB, free: 5.066 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.003123, allocations: 1.672 kB / 481.9 MB, free: 5.066 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.003137, allocations: 0 / 481.9 MB, free: 5.066 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.003339, allocations: 31.73 kB / 482 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.895e-06/0.003342, allocations: 0 / 482 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.366e-05/0.003375, allocations: 4.812 kB / 482 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.003412, allocations: 4 kB / 482 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.003436, allocations: 1.641 kB / 482 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.361e-05/0.00346, allocations: 0.5469 kB / 482 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-06/0.003468, allocations: 0 / 482 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.003573, allocations: 18.86 kB / 482 MB, free: 5.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.003582, allocations: 3.984 kB / 482 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.735e-06/0.00359, allocations: 4.766 kB / 482 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.337e-05/0.003653, allocations: 10.64 kB / 482 MB, free: 5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003655, allocations: 0 / 482 MB, free: 5 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003656, allocations: 0 / 482 MB, free: 5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.003659, allocations: 0 / 482 MB, free: 5 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.000183/0.003842, allocations: 224.5 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.003876, allocations: 8.844 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.003901, allocations: 4.938 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.924e-05/0.00396, allocations: 110.7 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.00397, allocations: 4.375 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.003989, allocations: 5.453 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.195e-05/0.004051, allocations: 30.25 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.004061, allocations: 5.469 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-06/0.004067, allocations: 384 / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004073, allocations: 3.938 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.004095, allocations: 5.5 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.221e-05/0.004177, allocations: 65.03 kB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.004298, allocations: 27.73 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.004311, allocations: 8.859 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.53e-05/0.004397, allocations: 8.125 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.004416, allocations: 31.34 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.004417, allocations: 2.766 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.001093/0.00551, allocations: 274.1 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.00554, allocations: 52.28 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.111e-05/0.005571, allocations: 93.8 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.005588, allocations: 25.7 kB / 483 MB, free: 3.938 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.005611, allocations: 85.41 kB / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.005645, allocations: 16.2 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.005696, allocations: 21.7 kB / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.005775, allocations: 310.8 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.005813, allocations: 5.969 kB / 483.4 MB, free: 3.492 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.005861, allocations: 34.42 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.86e-05/0.00595, allocations: 37.72 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.005951, allocations: 0 / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001192/0.00607, allocations: 57.62 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.006082, allocations: 4.531 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.006087, allocations: 0 / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006099, allocations: 0.5938 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.006266, allocations: 34.55 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.006271, allocations: 4.656 kB / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.006375, allocations: 25.89 kB / 483.6 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.006386, allocations: 0 / 483.6 MB, free: 3.289 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 6.834e-05/0.006454, allocations: 114.5 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.00647, allocations: 4.578 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.006657, allocations: 72.86 kB / 483.8 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.00666, allocations: 1.859 kB / 483.8 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.006661, allocations: 0 / 483.8 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.006668, allocations: 8.188 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.006943, allocations: 207.2 kB / 484 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.006945, allocations: 0 / 484 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.007105, allocations: 33.69 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.007108, allocations: 0 / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.007119, allocations: 2.141 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.007122, allocations: 4 kB / 484 MB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.007125, allocations: 4.719 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.007536, allocations: 142.3 kB / 484.2 MB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.007542, allocations: 8.578 kB / 484.2 MB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.00756, allocations: 0 / 484.2 MB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.007688, allocations: 18.16 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.007702, allocations: 9.391 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.007713, allocations: 4 kB / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.493e-06/0.007719, allocations: 6.047 kB / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007719, allocations: 0 / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.007926, allocations: 12.77 kB / 484.2 MB, free: 2.625 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.0001208/0.008047, allocations: 86.66 kB / 484.3 MB, free: 2.531 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.008167, allocations: 30.91 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.008169, allocations: 0.5312 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.473e-05/0.008214, allocations: 19.12 kB / 484.4 MB, free: 2.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.008354, allocations: 7.719 kB / 484.4 MB, free: 2.477 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.008669, allocations: 127.2 kB / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.008701, allocations: 56.23 kB / 484.6 MB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000107/0.008808, allocations: 26.88 kB / 484.6 MB, free: 2.254 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.008899, allocations: 55.36 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of SimCode: time 6.22e-07/0.008899, allocations: 0.8125 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of Templates: time 0.002942/0.01184, allocations: 0.9268 MB / 485.6 MB, free: 1.332 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8463343400508165]