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.0009647/0.0009647, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001058/0.001058, allocations: 181 kB / 23.36 MB, free: 1.133 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.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.8085/0.8085, allocations: 154.6 MB / 414.8 MB, free: 500 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. " [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.113e-06/1.113e-06, allocations: 0 / 480 MB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.273e-05, allocations: 7.188 kB / 480.1 MB, free: 6.824 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002702/0.002715, allocations: 1.852 MB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000985/0.0037, allocations: 0.7305 MB / 482.6 MB, free: 4.277 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.003761, allocations: 1.312 kB / 482.6 MB, free: 4.277 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.003794, allocations: 11.81 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/0.003862, allocations: 20.02 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.004255, allocations: 175 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.00441, allocations: 124.8 kB / 483 MB, free: 3.969 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.004521, allocations: 42.19 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.004679, allocations: 100.4 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.004746, allocations: 37.42 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.004766, allocations: 12 kB / 483.2 MB, free: 3.781 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.004869, allocations: 51.95 kB / 483.2 MB, free: 3.73 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.004895, allocations: 27.91 kB / 483.2 MB, free: 3.703 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.004927, allocations: 41.36 kB / 483.3 MB, free: 3.664 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.005093, allocations: 147.4 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005095, allocations: 0 / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005096, allocations: 0 / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.0051, allocations: 0.6875 kB / 483.4 MB, free: 3.52 MB / 442.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.0003609/0.005461, allocations: 332.6 kB / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.005492, allocations: 8.031 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.005888, allocations: 107.2 kB / 483.9 MB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.006054, allocations: 146.1 kB / 484 MB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.006116, allocations: 111.4 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.006132, allocations: 13.12 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.006349, allocations: 191.1 kB / 484.3 MB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.006358, allocations: 5.562 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.006371, allocations: 4 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.006377, allocations: 0.5312 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.006431, allocations: 38.48 kB / 484.4 MB, free: 2.504 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.006903, allocations: 281.4 kB / 484.6 MB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.007158, allocations: 121.1 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.007189, allocations: 25.75 kB / 484.8 MB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.007204, allocations: 4 kB / 484.8 MB, free: 2.059 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.007225, allocations: 35.69 kB / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.007226, allocations: 0 / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001505/0.007377, allocations: 86.52 kB / 484.9 MB, free: 1.926 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.007399, allocations: 51.41 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.007471, allocations: 148 kB / 485.1 MB, free: 1.707 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.007488, allocations: 29.7 kB / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.007527, allocations: 108.2 kB / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.007548, allocations: 23.84 kB / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.007583, allocations: 23.05 kB / 485.3 MB, free: 1.512 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.007652, allocations: 322.8 kB / 485.6 MB, free: 1.188 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.007678, allocations: 16 kB / 485.6 MB, free: 1.172 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.007715, allocations: 40.3 kB / 485.6 MB, free: 1.125 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.794e-05/0.007783, allocations: 50.5 kB / 485.7 MB, free: 1.066 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007785, allocations: 0 / 485.7 MB, free: 1.066 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.595e-05/0.007881, allocations: 83.95 kB / 485.8 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.007894, allocations: 8 kB / 485.8 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.007898, allocations: 0 / 485.8 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.00791, allocations: 0 / 485.8 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.008012, allocations: 32.83 kB / 485.8 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.008015, allocations: 3.938 kB / 485.8 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.008066, allocations: 17.02 kB / 485.8 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.008077, allocations: 5.078 kB / 485.8 MB, free: 0.918 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.983e-05/0.008136, allocations: 114.7 kB / 485.9 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.008161, allocations: 11.98 kB / 486 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.008277, allocations: 88.2 kB / 486 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.008279, allocations: 4.656 kB / 486 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.008282, allocations: 3.938 kB / 486.1 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.008284, allocations: 0.5938 kB / 486.1 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.008391, allocations: 98.47 kB / 486.1 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008392, allocations: 1.438 kB / 486.2 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.008461, allocations: 27.97 kB / 486.2 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.008463, allocations: 3.938 kB / 486.2 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.008472, allocations: 8.922 kB / 486.2 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.008472, allocations: 0 / 486.2 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008473, allocations: 1.125 kB / 486.2 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.008591, allocations: 167.9 kB / 486.4 MB, free: 356 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.008604, allocations: 15.89 kB / 486.4 MB, free: 340 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.008617, allocations: 4.844 kB / 486.4 MB, free: 336 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.008714, allocations: 20.56 kB / 486.4 MB, free: 316 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.008744, allocations: 0 / 486.4 MB, free: 316 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.008756, allocations: 11 kB / 486.4 MB, free: 308 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.717e-05/0.008783, allocations: 35.39 kB / 486.4 MB, free: 272 kB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008784, allocations: 0 / 486.4 MB, free: 272 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.008919, allocations: 23.94 kB / 486.5 MB, free: 248 kB / 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 7.36e-05/0.008992, allocations: 77.17 kB / 486.5 MB, free: 164 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.009095, allocations: 58.64 kB / 486.6 MB, free: 104 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.009098, allocations: 4 kB / 486.6 MB, free: 100 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.009136, allocations: 32.78 kB / 486.6 MB, free: 64 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.009283, allocations: 15.98 kB / 486.6 MB, free: 48 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.009713, allocations: 216.3 kB / 486.9 MB, free: 15.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.286e-05/0.009756, allocations: 65.62 kB / 486.9 MB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.2e-05/0.009818, allocations: 21.58 kB / 486.9 MB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.009956, allocations: 79.3 kB / 487 MB, free: 15.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.009957, allocations: 4 kB / 487 MB, free: 15.63 MB / 458.7 MB Notification: Performance of Templates: time 0.003288/0.01325, allocations: 1.632 MB / 488.7 MB, free: 14.1 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.671198288910091]