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.0009433/0.0009433, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.001051/0.001051, allocations: 173 kB / 24.06 MB, free: 448 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.099/1.099, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.8968/0.8968, 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.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 2.554e-06/2.554e-06, allocations: 3.938 kB / 0.5219 GB, free: 1.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.523e-05, allocations: 3.562 kB / 0.5219 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003059/0.003094, allocations: 1.81 MB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004294, allocations: 0.7106 MB / 0.5244 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.114e-05/0.004385, allocations: 3.938 kB / 0.5244 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.004426, allocations: 16.36 kB / 0.5244 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.004499, allocations: 16.81 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.005005, allocations: 182.4 kB / 0.5246 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.005176, allocations: 127.6 kB / 0.5247 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.005309, allocations: 43.06 kB / 0.5247 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.005477, allocations: 79.86 kB / 0.5248 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.005548, allocations: 35.89 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.005572, allocations: 12 kB / 0.5249 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.752e-05/0.005669, allocations: 48.98 kB / 0.5249 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.005698, allocations: 31.91 kB / 0.5249 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.005733, allocations: 40.52 kB / 0.525 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.005929, allocations: 143.5 kB / 0.5251 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.005934, allocations: 5.281 kB / 0.5251 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.005935, allocations: 0 / 0.5251 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.00594, allocations: 0 / 0.5251 GB, free: 14.27 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.0004661/0.006406, allocations: 464.7 kB / 0.5256 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.006442, allocations: 12.03 kB / 0.5256 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.006891, allocations: 107.1 kB / 0.5257 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.007077, allocations: 163.8 kB / 0.5258 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/0.007147, allocations: 111.4 kB / 0.5259 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.007168, allocations: 12.38 kB / 0.5259 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.007416, allocations: 189.4 kB / 0.5261 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.007425, allocations: 4 kB / 0.5261 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.007439, allocations: 4 kB / 0.5261 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.007445, allocations: 3.219 kB / 0.5261 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.47e-05/0.00751, allocations: 47.91 kB / 0.5262 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/0.008365, allocations: 389.7 kB / 0.5265 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.008649, allocations: 142 kB / 0.5267 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.008687, allocations: 31.67 kB / 0.5267 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.008703, allocations: 0 / 0.5267 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.008728, allocations: 41.39 kB / 0.5268 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.008729, allocations: 0 / 0.5268 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000221/0.00895, allocations: 111.2 kB / 0.5269 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.008976, allocations: 51.41 kB / 0.5269 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.009079, allocations: 199.3 kB / 0.5271 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.009096, allocations: 30.3 kB / 0.5271 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.009586, allocations: 155 kB / 0.5273 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.009609, allocations: 28.7 kB / 0.5273 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.009653, allocations: 27.36 kB / 0.5273 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.009769, allocations: 0.4889 MB / 0.5278 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.009808, allocations: 23.97 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.626e-05/0.009854, allocations: 47.73 kB / 0.5279 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.153e-05/0.009935, allocations: 72.11 kB / 0.5279 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.009937, allocations: 2.844 kB / 0.5279 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001444/0.01008, allocations: 97.56 kB / 0.528 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.0101, allocations: 7.938 kB / 0.528 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.0101, allocations: 0 / 0.528 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01011, allocations: 4 kB / 0.5281 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.01023, allocations: 27.91 kB / 0.5281 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01023, allocations: 6.438 kB / 0.5281 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.0103, allocations: 15.98 kB / 0.5281 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.01031, allocations: 7.922 kB / 0.5281 GB, free: 10.97 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 8.415e-05/0.01039, allocations: 160.5 kB / 0.5283 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.01043, allocations: 15.91 kB / 0.5283 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.01059, allocations: 99.84 kB / 0.5284 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01059, allocations: 1.031 kB / 0.5284 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01059, allocations: 7.938 kB / 0.5284 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.0106, allocations: 3.984 kB / 0.5284 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01074, allocations: 127.8 kB / 0.5285 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01075, allocations: 4 kB / 0.5285 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.01082, allocations: 29.31 kB / 0.5285 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.01083, allocations: 4 kB / 0.5285 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.01084, allocations: 0 / 0.5285 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01084, allocations: 0 / 0.5285 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01084, allocations: 1.281 kB / 0.5285 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.01103, allocations: 239.8 kB / 0.5288 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.01104, allocations: 15.89 kB / 0.5288 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.01106, allocations: 0.6562 kB / 0.5288 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.01116, allocations: 20.61 kB / 0.5288 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.01119, allocations: 5.484 kB / 0.5288 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.01121, allocations: 7.984 kB / 0.5288 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.01126, allocations: 148.8 kB / 0.529 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01126, allocations: 0 / 0.529 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001707/0.01143, allocations: 24.91 kB / 0.529 GB, free: 10.02 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.0001245/0.01156, allocations: 103.8 kB / 0.5291 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.01169, allocations: 60.25 kB / 0.5291 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.0117, allocations: 0.6562 kB / 0.5291 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.01174, allocations: 39.61 kB / 0.5292 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.01197, allocations: 24.48 kB / 0.5292 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.01247, allocations: 233.3 kB / 0.5294 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.045e-05/0.01251, allocations: 65.45 kB / 0.5295 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.832e-05/0.01257, allocations: 16.56 kB / 0.5295 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.01272, allocations: 114.1 kB / 0.5296 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.01272, allocations: 0 / 0.5296 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of Templates: time 0.003554/0.01627, allocations: 1.723 MB / 0.5313 GB, free: 7.656 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: 3.972432292997837]