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.001257/0.001257, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001779/0.001779, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.046/1.046, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7705/0.7705, allocations: 154.9 MB / 415.9 MB, free: 268 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.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.342e-06/1.342e-06, allocations: 0 / 0.522 GB, free: 1.336 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.293e-05, allocations: 3.562 kB / 0.522 GB, free: 1.332 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001224/0.001247, allocations: 0.6018 MB / 0.5225 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002408, allocations: 1.154 MB / 0.5237 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.002439, allocations: 3.938 kB / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.002454, allocations: 0 / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.002665, allocations: 30.25 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 2.304e-06/0.002668, allocations: 0 / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.308e-05/0.002701, allocations: 0 / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.002744, allocations: 4 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.002767, allocations: 0 / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.002791, allocations: 3.938 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.0028, allocations: 1.594 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.235e-05/0.002892, allocations: 19.97 kB / 0.5237 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.002905, allocations: 0 / 0.5237 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.967e-06/0.002914, allocations: 7.938 kB / 0.5237 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 6.657e-05/0.00298, allocations: 11.92 kB / 0.5238 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.002983, allocations: 4.562 kB / 0.5238 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002984, allocations: 1 kB / 0.5238 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002988, allocations: 0 / 0.5238 GB, free: 15.5 MB / 0.4948 GB 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.0002065/0.003195, allocations: 344.4 kB / 0.5241 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.003224, allocations: 9.125 kB / 0.5241 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.003396, allocations: 12.92 kB / 0.5241 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.97e-05/0.003456, allocations: 113.3 kB / 0.5242 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.003467, allocations: 384 / 0.5242 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.003481, allocations: 1.406 kB / 0.5242 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.908e-05/0.00355, allocations: 42.23 kB / 0.5243 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.003558, allocations: 192 / 0.5243 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.003563, allocations: 1.938 kB / 0.5243 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.00357, allocations: 11.88 kB / 0.5243 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/0.003589, allocations: 3.984 kB / 0.5243 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.638e-05/0.003675, allocations: 93.27 kB / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.003784, allocations: 44.22 kB / 0.5244 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.178e-05/0.003796, allocations: 7.688 kB / 0.5244 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.003806, allocations: 4.688 kB / 0.5244 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.003826, allocations: 37.47 kB / 0.5245 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.003827, allocations: 5.219 kB / 0.5245 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.001093/0.00492, allocations: 243.4 kB / 0.5247 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.004956, allocations: 59.34 kB / 0.5247 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.801e-05/0.004994, allocations: 143.3 kB / 0.5249 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.005007, allocations: 25.7 kB / 0.5249 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.005035, allocations: 126.9 kB / 0.525 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.005068, allocations: 20.81 kB / 0.5251 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.00511, allocations: 23.38 kB / 0.5251 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.00522, allocations: 497.2 kB / 0.5255 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.005258, allocations: 11.41 kB / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.005298, allocations: 27.06 kB / 0.5256 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.508e-05/0.005373, allocations: 51.47 kB / 0.5256 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.005374, allocations: 4.125 kB / 0.5256 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001213/0.005495, allocations: 61.62 kB / 0.5257 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.005506, allocations: 4 kB / 0.5257 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.005512, allocations: 8 kB / 0.5257 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.005519, allocations: 0.9688 kB / 0.5257 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.00565, allocations: 33.83 kB / 0.5257 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.005655, allocations: 7.922 kB / 0.5257 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.005738, allocations: 18.09 kB / 0.5258 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.005747, allocations: 5.969 kB / 0.5258 GB, free: 13.27 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 7.157e-05/0.005819, allocations: 156.6 kB / 0.5259 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.005835, allocations: 11.89 kB / 0.5259 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.005871, allocations: 11.91 kB / 0.5259 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005872, allocations: 0 / 0.5259 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.005875, allocations: 4 kB / 0.5259 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.005878, allocations: 5.156 kB / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.00613, allocations: 281.1 kB / 0.5262 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006131, allocations: 0 / 0.5262 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.006245, allocations: 33.48 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006247, allocations: 0.9375 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.006256, allocations: 4.406 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.006259, allocations: 8.656 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.00626, allocations: 0 / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.0064, allocations: 200.7 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-06/0.006404, allocations: 4 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.006417, allocations: 0 / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.006518, allocations: 28.97 kB / 0.5265 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-06/0.006527, allocations: 1.719 kB / 0.5265 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.006536, allocations: 7.984 kB / 0.5265 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.579e-05/0.006561, allocations: 119.2 kB / 0.5266 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006561, allocations: 0 / 0.5266 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001469/0.006708, allocations: 13.56 kB / 0.5266 GB, free: 12.35 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 8.621e-05/0.006795, allocations: 99.12 kB / 0.5267 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.006913, allocations: 35.55 kB / 0.5268 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006914, allocations: 0 / 0.5268 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.006955, allocations: 30.27 kB / 0.5268 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.007093, allocations: 4 kB / 0.5268 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.007351, allocations: 138.6 kB / 0.5269 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.007383, allocations: 55.36 kB / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.007491, allocations: 28.62 kB / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.007569, allocations: 78.19 kB / 0.5271 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of SimCode: time 6.32e-07/0.007569, allocations: 1.094 kB / 0.5271 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.00202/0.009589, allocations: 0.873 MB / 0.5279 GB, free: 11.03 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: 3.7702221577055752]