Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.001852/0.001852, allocations: 89.48 kB / 19.44 MB, free: 336 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.001941/0.001941, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.34/1.34, allocations: 154.8 MB / 414.3 MB, free: 472 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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.886e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003171/0.0032, allocations: 1.792 MB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.004584, allocations: 0.7076 MB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.004653, allocations: 4 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.004694, allocations: 12.39 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.004774, allocations: 16.52 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.00535, allocations: 184.5 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.005562, allocations: 131.6 kB / 0.5226 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.005694, allocations: 33.61 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.005894, allocations: 83.78 kB / 0.5228 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.005978, allocations: 35.89 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.00601, allocations: 12 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.006139, allocations: 49.06 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.006184, allocations: 31.83 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.006248, allocations: 47.83 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.006537, allocations: 168 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.006541, allocations: 0 / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.233e-06/0.006542, allocations: 0.5625 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.006547, allocations: 0.9375 kB / 0.5231 GB, free: 14.98 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007174/0.007264, allocations: 467.6 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.007306, allocations: 13.45 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008435/0.008149, allocations: 107.7 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.008436, allocations: 162.2 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.008569, allocations: 115.4 kB / 0.5239 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.008604, allocations: 12.31 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004814/0.009085, allocations: 210.2 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.009095, allocations: 0.8125 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.009117, allocations: 4 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.009124, allocations: 5.031 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.009561, allocations: 129.3 kB / 0.5243 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.01057, allocations: 445.1 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.01132, allocations: 182.9 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.01154, allocations: 71.77 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.01158, allocations: 11.94 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.01161, allocations: 37.38 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.01161, allocations: 2.406 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0008095/0.01242, allocations: 221.5 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.01248, allocations: 56.03 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.01268, allocations: 212.9 kB / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.01272, allocations: 25.7 kB / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.01285, allocations: 166.9 kB / 0.5256 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.01289, allocations: 24.28 kB / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.01296, allocations: 36.39 kB / 0.5257 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002817/0.01325, allocations: 0.4962 MB / 0.5262 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.01346, allocations: 65.16 kB / 0.5262 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.0137, allocations: 95.58 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.01413, allocations: 151.3 kB / 0.5265 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01414, allocations: 3.938 kB / 0.5265 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005167/0.01465, allocations: 184.3 kB / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01467, allocations: 4 kB / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.01467, allocations: 0 / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.01469, allocations: 11.88 kB / 0.5267 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.01491, allocations: 23.97 kB / 0.5267 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.01492, allocations: 4 kB / 0.5267 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.01505, allocations: 12.48 kB / 0.5267 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.01507, allocations: 9.516 kB / 0.5267 GB, free: 11.05 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 (8): * Single equations (assignments): 8 * 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.0001397/0.01521, allocations: 164.6 kB / 0.5269 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.01526, allocations: 11.91 kB / 0.5269 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/0.01582, allocations: 184.9 kB / 0.527 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.01583, allocations: 3.938 kB / 0.5271 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01583, allocations: 4.594 kB / 0.5271 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01583, allocations: 0 / 0.5271 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.01609, allocations: 174 kB / 0.5272 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.01609, allocations: 0.8438 kB / 0.5272 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.01626, allocations: 23.97 kB / 0.5272 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01626, allocations: 0.5312 kB / 0.5272 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.01628, allocations: 5.5 kB / 0.5273 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01628, allocations: 0 / 0.5273 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01629, allocations: 3.938 kB / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.01688, allocations: 317 kB / 0.5276 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.0169, allocations: 12.88 kB / 0.5276 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.01692, allocations: 4 kB / 0.5276 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.01714, allocations: 20.64 kB / 0.5276 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.01719, allocations: 8.672 kB / 0.5276 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.01721, allocations: 7.984 kB / 0.5276 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001189/0.01733, allocations: 161.2 kB / 0.5278 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01733, allocations: 0 / 0.5278 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002447/0.01757, allocations: 20 kB / 0.5278 GB, free: 9.879 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 (6): * Single equations (assignments): 6 * 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.0001544/0.01773, allocations: 93.81 kB / 0.5279 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005132/0.01824, allocations: 151.7 kB / 0.528 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01824, allocations: 2.438 kB / 0.528 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.01848, allocations: 83.56 kB / 0.5281 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.01876, allocations: 23.97 kB / 0.5281 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.0194, allocations: 271.5 kB / 0.5284 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.423e-05/0.01949, allocations: 88.31 kB / 0.5285 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.177e-05/0.01958, allocations: 16.09 kB / 0.5285 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.01966, allocations: 16.48 kB / 0.5285 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of SimCode: time 6.02e-07/0.01966, allocations: 0 / 0.5285 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of Templates: time 0.00502/0.02468, allocations: 1.548 MB / 0.53 GB, free: 7.621 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.006037019076757]