Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007165/0.0007165, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008852/0.001602, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007011/0.0007011, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008791/0.00158, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09322/1.096, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8482/0.8482, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2834/1.132, allocations: 49.05 MB / 447.8 MB, free: 6.574 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 3.938 kB / 449.2 MB, free: 5.246 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.55e-05, allocations: 4.281 kB / 449.2 MB, free: 5.242 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002032/0.002047, allocations: 1.871 MB / 451 MB, free: 3.402 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.002858, allocations: 0.7257 MB / 451.8 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.002915, allocations: 0 / 451.8 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.002945, allocations: 11.81 kB / 451.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.235e-05/0.002987, allocations: 20.97 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.003292, allocations: 179.5 kB / 452 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.003439, allocations: 131 kB / 452.1 MB, free: 2.371 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003549, allocations: 34.09 kB / 452.1 MB, free: 2.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.003715, allocations: 103.7 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.003784, allocations: 35.89 kB / 452.3 MB, free: 2.203 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.003806, allocations: 12 kB / 452.3 MB, free: 2.191 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.003907, allocations: 55.89 kB / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.003932, allocations: 21.34 kB / 452.4 MB, free: 2.117 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.003959, allocations: 23.94 kB / 452.4 MB, free: 2.094 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.004122, allocations: 115.6 kB / 452.5 MB, free: 1.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.525e-05/0.004137, allocations: 3.984 kB / 452.5 MB, free: 1.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.004137, allocations: 1.656 kB / 452.5 MB, free: 1.977 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.004151, allocations: 0 / 452.5 MB, free: 1.977 MB / 426.7 MB 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.0004585/0.00461, allocations: 369.9 kB / 452.9 MB, free: 1.594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.004643, allocations: 8.031 kB / 452.9 MB, free: 1.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.005077, allocations: 180 kB / 453 MB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.005238, allocations: 144.6 kB / 453.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.005303, allocations: 111.4 kB / 453.3 MB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.005322, allocations: 10.34 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.005527, allocations: 194.6 kB / 453.5 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005534, allocations: 4 kB / 453.5 MB, free: 0.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.005547, allocations: 5.25 kB / 453.5 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.005552, allocations: 0 / 453.5 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.005603, allocations: 37.55 kB / 453.5 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.006013, allocations: 286.7 kB / 453.8 MB, free: 0.543 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.006235, allocations: 116.5 kB / 453.9 MB, free: 432 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.006263, allocations: 26.27 kB / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.006278, allocations: 0 / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.006299, allocations: 42.48 kB / 454 MB, free: 352 kB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.006299, allocations: 0.9375 kB / 454 MB, free: 352 kB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001487/0.006448, allocations: 81.67 kB / 454.1 MB, free: 264 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.006471, allocations: 56.84 kB / 454.1 MB, free: 196 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.006537, allocations: 142.6 kB / 454.3 MB, free: 40 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.006553, allocations: 25.7 kB / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.006604, allocations: 112.2 kB / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.006626, allocations: 20.62 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.006661, allocations: 25.7 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.006729, allocations: 320 kB / 454.8 MB, free: 15.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.006756, allocations: 19.98 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.006791, allocations: 34.52 kB / 454.8 MB, free: 15.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.006858, allocations: 64.19 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.00686, allocations: 4 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.49e-05/0.006945, allocations: 74.48 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.006956, allocations: 9.062 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.00696, allocations: 0 / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.006971, allocations: 0.625 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.007079, allocations: 41.02 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.007083, allocations: 8.094 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.007133, allocations: 16.61 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.007141, allocations: 4.609 kB / 455 MB, free: 15.23 MB / 442.7 MB 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 5.357e-05/0.007195, allocations: 110.5 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.007217, allocations: 12.61 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.007327, allocations: 87.08 kB / 455.2 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.007331, allocations: 5.75 kB / 455.2 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.007333, allocations: 5.438 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.007336, allocations: 0 / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.007441, allocations: 101.8 kB / 455.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.007442, allocations: 0 / 455.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.007514, allocations: 28.86 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.007524, allocations: 15.84 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007525, allocations: 0.6875 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.007533, allocations: 4.625 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007533, allocations: 0 / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.007534, allocations: 2.344 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.007641, allocations: 167.5 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.007653, allocations: 4.125 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.007738, allocations: 23.97 kB / 455.6 MB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.007765, allocations: 7.984 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.007775, allocations: 9.672 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.295e-05/0.007798, allocations: 34.83 kB / 455.6 MB, free: 14.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007798, allocations: 0 / 455.6 MB, free: 14.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001316/0.00793, allocations: 24 kB / 455.7 MB, free: 14.56 MB / 442.7 MB 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 6.887e-05/0.007999, allocations: 73.98 kB / 455.7 MB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.503e-05/0.008094, allocations: 56.78 kB / 455.8 MB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.0081, allocations: 4.734 kB / 455.8 MB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.008144, allocations: 40.77 kB / 455.8 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.008314, allocations: 84.5 kB / 455.9 MB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/0.009018, allocations: 219.5 kB / 456.1 MB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.619e-05/0.009055, allocations: 63.34 kB / 456.2 MB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.469e-05/0.009109, allocations: 13.45 kB / 456.2 MB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.009243, allocations: 91.77 kB / 456.3 MB, free: 13.87 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009244, allocations: 0 / 456.3 MB, free: 13.87 MB / 442.7 MB Notification: Performance of Templates: time 0.00283/0.01207, allocations: 1.704 MB / 458 MB, free: 12.27 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5439733639359474]