Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001336/0.001336, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001156/0.001156, allocations: 173 kB / 23.49 MB, free: 1.059 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.9402/0.9402, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.7792/0.7792, allocations: 154.8 MB / 415.1 MB, free: 476 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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0.5469 kB / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.382e-05, allocations: 7.391 kB / 0.5206 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002094/0.002118, allocations: 1.516 MB / 0.5221 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.002918, allocations: 0.5931 MB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.002979, allocations: 4 kB / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.00301, allocations: 7.922 kB / 0.5227 GB, free: 144 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/0.003059, allocations: 4.5 kB / 0.5227 GB, free: 140 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.003384, allocations: 53.31 kB / 0.5227 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.003497, allocations: 31.86 kB / 0.5227 GB, free: 56 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.003608, allocations: 11.98 kB / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.003746, allocations: 29.14 kB / 0.5228 GB, free: 16 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.003795, allocations: 7.984 kB / 0.5228 GB, free: 8 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.00381, allocations: 4 kB / 0.5228 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.003941, allocations: 52.48 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.003955, allocations: 8.891 kB / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.003978, allocations: 8 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.004133, allocations: 71.73 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004136, allocations: 1.906 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004137, allocations: 0 / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.004141, allocations: 4 kB / 0.5229 GB, free: 15.86 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.000359/0.0045, allocations: 372.5 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.004538, allocations: 8.031 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.007932, allocations: 1.147 MB / 0.5244 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.008132, allocations: 160.4 kB / 0.5246 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.008142, allocations: 384 / 0.5246 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.008169, allocations: 4.375 kB / 0.5246 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.008942, allocations: 335.5 kB / 0.5249 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.008948, allocations: 192 / 0.5249 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.008971, allocations: 1.25 kB / 0.5249 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.00898, allocations: 3.938 kB / 0.5249 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.009241, allocations: 92.42 kB / 0.525 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.01078, allocations: 0.8359 MB / 0.5258 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/0.01157, allocations: 318.2 kB / 0.5261 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.01171, allocations: 63.72 kB / 0.5262 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.01173, allocations: 0 / 0.5262 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.01175, allocations: 45.33 kB / 0.5262 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.01175, allocations: 0 / 0.5262 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0005236/0.01227, allocations: 165.5 kB / 0.5264 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.01231, allocations: 55.39 kB / 0.5264 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.01239, allocations: 178 kB / 0.5266 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.01241, allocations: 25.7 kB / 0.5266 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.01246, allocations: 126.9 kB / 0.5267 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.01249, allocations: 11.95 kB / 0.5267 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.01256, allocations: 27.34 kB / 0.5268 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.01266, allocations: 0.4922 MB / 0.5273 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.0128, allocations: 43.98 kB / 0.5273 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.01293, allocations: 43.97 kB / 0.5273 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.01312, allocations: 59.73 kB / 0.5274 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01312, allocations: 0 / 0.5274 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003106/0.01343, allocations: 121.6 kB / 0.5275 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.01344, allocations: 9.656 kB / 0.5275 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01345, allocations: 0 / 0.5275 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01346, allocations: 0 / 0.5275 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.01401, allocations: 195.8 kB / 0.5277 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.01402, allocations: 0 / 0.5277 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.01449, allocations: 167.8 kB / 0.5279 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.01451, allocations: 7.984 kB / 0.5279 GB, free: 10.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.475e-05/0.01461, allocations: 156.6 kB / 0.528 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.01465, allocations: 11.89 kB / 0.528 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.0147, allocations: 11.62 kB / 0.528 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.0147, allocations: 0 / 0.528 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.0147, allocations: 4 kB / 0.528 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01471, allocations: 3.984 kB / 0.5281 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.01491, allocations: 229.6 kB / 0.5283 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01491, allocations: 0 / 0.5283 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/0.0154, allocations: 183.8 kB / 0.5284 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01541, allocations: 0 / 0.5284 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.01543, allocations: 11.92 kB / 0.5285 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.01543, allocations: 3.938 kB / 0.5285 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.01543, allocations: 3.984 kB / 0.5285 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.01579, allocations: 263.9 kB / 0.5287 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.0158, allocations: 7.953 kB / 0.5287 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.01583, allocations: 3.938 kB / 0.5287 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.01631, allocations: 179.9 kB / 0.5289 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.01634, allocations: 0 / 0.5289 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.01636, allocations: 11.97 kB / 0.5289 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.0164, allocations: 135.2 kB / 0.529 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0164, allocations: 0 / 0.529 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001882/0.01659, allocations: 36 kB / 0.5291 GB, free: 9.48 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 (2): * Single equations (assignments): 2 * 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 9.494e-05/0.01669, allocations: 95.19 kB / 0.5292 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.01702, allocations: 115.5 kB / 0.5293 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01702, allocations: 0 / 0.5293 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.01717, allocations: 67.72 kB / 0.5293 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.01736, allocations: 25.94 kB / 0.5294 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.01794, allocations: 190.1 kB / 0.5295 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.01798, allocations: 55.3 kB / 0.5296 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.01813, allocations: 36 kB / 0.5296 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.01825, allocations: 24.45 kB / 0.5297 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.01825, allocations: 0 / 0.5297 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of Templates: time 0.003712/0.02196, allocations: 2.727 MB / 0.5323 GB, free: 6.082 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9429972050711513]