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.002643/0.002643, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.003379/0.003379, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.353/1.353, allocations: 154.8 MB / 414.4 MB, free: 452 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 178] 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.643e-06/1.643e-06, allocations: 0 / 0.5199 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.058e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001868/0.001898, allocations: 0.6032 MB / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.00361, allocations: 1.142 MB / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.003642, allocations: 0.9062 kB / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.003657, allocations: 3.938 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.003907, allocations: 20.89 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.003911, allocations: 0 / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.054e-05/0.003951, allocations: 3.938 kB / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.093e-05/0.004012, allocations: 12.92 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.975e-05/0.004042, allocations: 0 / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.639e-05/0.004068, allocations: 0.625 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-06/0.004078, allocations: 0 / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.004178, allocations: 17.11 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.004187, allocations: 0 / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.379e-05/0.0042, allocations: 4 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.004301, allocations: 16.69 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.004304, allocations: 0 / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004305, allocations: 1.594 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.00431, allocations: 0 / 0.5217 GB, free: 424 kB / 490.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.0003839/0.004694, allocations: 348.4 kB / 0.522 GB, free: 40 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.00473, allocations: 11.97 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.004994, allocations: 14.45 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.005116, allocations: 104.6 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.005128, allocations: 4.375 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.005147, allocations: 4.359 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.005256, allocations: 39 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.005266, allocations: 192 / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.005274, allocations: 5.438 kB / 0.5222 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.005281, allocations: 7.938 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.005323, allocations: 4 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.005478, allocations: 109.8 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.00568, allocations: 47 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.005711, allocations: 14.19 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.00573, allocations: 4 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.005767, allocations: 37.39 kB / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.005768, allocations: 0 / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.002602/0.00837, allocations: 341.3 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.008419, allocations: 51.91 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.008504, allocations: 145.4 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.008535, allocations: 25.7 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.008604, allocations: 126.9 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.008648, allocations: 15.91 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.008716, allocations: 23.36 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002513/0.008968, allocations: 496.1 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005846/0.009552, allocations: 46.36 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.009929, allocations: 75.66 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/0.01068, allocations: 121.9 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.01068, allocations: 0.5625 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0008155/0.01149, allocations: 141.3 kB / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01151, allocations: 7.938 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01151, allocations: 5.562 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01153, allocations: 0 / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.01183, allocations: 33.05 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01183, allocations: 0.625 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.01208, allocations: 22.02 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.01209, allocations: 4.188 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB 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 0.0001282/0.01222, allocations: 161.3 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.01225, allocations: 5.266 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.01231, allocations: 11.31 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.01232, allocations: 11.98 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.01232, allocations: 3.938 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01233, allocations: 1.75 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.01344, allocations: 374.9 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01344, allocations: 4.75 kB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.01373, allocations: 34.47 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.01373, allocations: 3.938 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.01375, allocations: 0 / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01375, allocations: 5.219 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01375, allocations: 0 / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008949/0.01465, allocations: 282.8 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.01465, allocations: 0 / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.01468, allocations: 3.938 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.01497, allocations: 22.83 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.015, allocations: 8 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.01501, allocations: 0 / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.152e-05/0.01507, allocations: 119.7 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01507, allocations: 2.375 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002322/0.0153, allocations: 8 kB / 0.5251 GB, free: 12.78 MB / 0.4948 GB 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.0001456/0.01545, allocations: 99.23 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008351/0.01629, allocations: 110.8 kB / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01629, allocations: 0 / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.01667, allocations: 64.31 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.01688, allocations: 6.188 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.01773, allocations: 179.7 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.669e-05/0.0178, allocations: 59.34 kB / 0.5255 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.018, allocations: 32.75 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.01808, allocations: 14 kB / 0.5256 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.01808, allocations: 0 / 0.5256 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.003471/0.02156, allocations: 0.8235 MB / 0.5264 GB, free: 11.41 MB / 0.4948 GB " [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: 6.202359371003695]