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.0008599/0.0008599, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004127/0.004987, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009024/0.0009024, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002065, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9911/0.9911, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09902/1.09, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7649/0.7649, allocations: 154.6 MB / 398.5 MB, free: 0.5078 MB / 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.2675/1.032, allocations: 49.04 MB / 447.6 MB, free: 6.68 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.353e-06/1.353e-06, allocations: 0 / 448.9 MB, free: 5.371 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.26e-05, allocations: 4.562 kB / 448.9 MB, free: 5.367 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.005662/0.005685, allocations: 1.858 MB / 450.8 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.006782, allocations: 0.7229 MB / 451.5 MB, free: 2.82 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.006852, allocations: 4 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.006891, allocations: 17.73 kB / 451.5 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/0.006946, allocations: 15.25 kB / 451.5 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.007385, allocations: 180.7 kB / 451.7 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.007567, allocations: 126.8 kB / 451.8 MB, free: 2.508 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.007688, allocations: 43.02 kB / 451.9 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.007892, allocations: 104.7 kB / 452 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.00797, allocations: 39.89 kB / 452 MB, free: 2.328 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.007994, allocations: 8 kB / 452 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.008127, allocations: 60.89 kB / 452.1 MB, free: 2.262 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.008152, allocations: 15.94 kB / 452.1 MB, free: 2.246 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.008189, allocations: 29.91 kB / 452.1 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.008384, allocations: 115.6 kB / 452.2 MB, free: 2.105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.585e-05/0.0084, allocations: 0 / 452.2 MB, free: 2.105 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.008402, allocations: 0 / 452.2 MB, free: 2.105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.008421, allocations: 0 / 452.2 MB, free: 2.105 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.0005008/0.008921, allocations: 370.5 kB / 452.6 MB, free: 1.723 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.008954, allocations: 8.031 kB / 452.6 MB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/0.009483, allocations: 184.3 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.009673, allocations: 135.2 kB / 452.9 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.009751, allocations: 119.4 kB / 453 MB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.00977, allocations: 5.266 kB / 453 MB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.01003, allocations: 200 kB / 453.2 MB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.01004, allocations: 0 / 453.2 MB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.01006, allocations: 4 kB / 453.2 MB, free: 1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.01006, allocations: 5.438 kB / 453.2 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.713e-05/0.01013, allocations: 28 kB / 453.3 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.01065, allocations: 285.9 kB / 453.5 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.01095, allocations: 118.3 kB / 453.7 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.01099, allocations: 28.97 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.01101, allocations: 4 kB / 453.7 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.01104, allocations: 38.55 kB / 453.7 MB, free: 484 kB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.01104, allocations: 3.938 kB / 453.7 MB, free: 480 kB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.00019/0.01123, allocations: 83.27 kB / 453.8 MB, free: 392 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.01126, allocations: 55.41 kB / 453.9 MB, free: 324 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003095/0.01435, allocations: 138.6 kB / 454 MB, free: 172 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.01437, allocations: 26.58 kB / 454 MB, free: 140 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.01443, allocations: 116.2 kB / 454.1 MB, free: 20 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.01446, allocations: 19.83 kB / 454.2 MB, free: 16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.01451, allocations: 26.66 kB / 454.2 MB, free: 15.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.01459, allocations: 322.8 kB / 454.5 MB, free: 15.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.515e-05/0.01463, allocations: 12.66 kB / 454.5 MB, free: 15.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.7e-05/0.01468, allocations: 38.55 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.31e-05/0.01476, allocations: 55.69 kB / 454.6 MB, free: 15.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.01476, allocations: 0.5625 kB / 454.6 MB, free: 15.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000131/0.01489, allocations: 82.23 kB / 454.7 MB, free: 15.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.0149, allocations: 4.625 kB / 454.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01491, allocations: 0.875 kB / 454.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.01492, allocations: 4 kB / 454.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.01507, allocations: 37.97 kB / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.01508, allocations: 13.7 kB / 454.7 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.01515, allocations: 15.98 kB / 454.8 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.01516, allocations: 7.984 kB / 454.8 MB, free: 15.36 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 7.481e-05/0.01524, allocations: 106.8 kB / 454.9 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.01526, allocations: 12 kB / 454.9 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.0154, allocations: 87.58 kB / 455 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.0154, allocations: 0.9688 kB / 455 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.01541, allocations: 3.938 kB / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01541, allocations: 384 / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.01553, allocations: 103.1 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01554, allocations: 4 kB / 455.1 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.665e-05/0.01562, allocations: 33.14 kB / 455.1 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.01563, allocations: 15.84 kB / 455.1 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01564, allocations: 0 / 455.1 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.01564, allocations: 3.984 kB / 455.1 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01564, allocations: 1.812 kB / 455.1 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01565, allocations: 0 / 455.1 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.01576, allocations: 171.5 kB / 455.3 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.01577, allocations: 0 / 455.3 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.01585, allocations: 16.73 kB / 455.3 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.01588, allocations: 17.69 kB / 455.3 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.01589, allocations: 3.984 kB / 455.3 MB, free: 14.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.702e-05/0.01592, allocations: 30.09 kB / 455.4 MB, free: 14.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01592, allocations: 0.8438 kB / 455.4 MB, free: 14.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001394/0.01606, allocations: 24 kB / 455.4 MB, free: 14.69 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 0.0001033/0.01616, allocations: 81.17 kB / 455.5 MB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.01627, allocations: 53.5 kB / 455.5 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.01627, allocations: 0.7812 kB / 455.5 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.01631, allocations: 36.84 kB / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.01649, allocations: 28.62 kB / 455.6 MB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.01728, allocations: 224.3 kB / 455.8 MB, free: 14.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.321e-05/0.01731, allocations: 67.28 kB / 455.9 MB, free: 14.15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.01737, allocations: 13.61 kB / 455.9 MB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.0175, allocations: 88.27 kB / 456 MB, free: 14.06 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0175, allocations: 0 / 456 MB, free: 14.06 MB / 442.7 MB Notification: Performance of Templates: time 0.003144/0.02064, allocations: 1.696 MB / 457.7 MB, free: 12.46 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.515546653419733]