Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001425/0.001425, allocations: 92.7 kB / 19.44 MB, free: 316 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.001572/0.001572, allocations: 161.3 kB / 22.76 MB, free: 1.648 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.506/1.506, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.262/1.262, allocations: 154.8 MB / 414.3 MB, free: 464 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.5199 GB, free: 1.215 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.173e-05, allocations: 6.953 kB / 0.5199 GB, free: 1.211 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003083/0.003115, allocations: 1.479 MB / 0.5213 GB, free: 15.75 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.004273, allocations: 0.5797 MB / 0.5219 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.004327, allocations: 1.062 kB / 0.5219 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.004359, allocations: 3.938 kB / 0.5219 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.65e-05/0.004415, allocations: 10.78 kB / 0.5219 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.004718, allocations: 67.67 kB / 0.522 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.00482, allocations: 23.94 kB / 0.522 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.329e-05/0.004904, allocations: 11.92 kB / 0.522 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.00504, allocations: 19.97 kB / 0.522 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.005089, allocations: 11.98 kB / 0.522 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.005106, allocations: 4.562 kB / 0.522 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.00524, allocations: 55.83 kB / 0.5221 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.005253, allocations: 4.562 kB / 0.5221 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.005282, allocations: 8.891 kB / 0.5221 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.005467, allocations: 75.72 kB / 0.5222 GB, free: 14.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.005473, allocations: 5.562 kB / 0.5222 GB, free: 14.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005474, allocations: 4 kB / 0.5222 GB, free: 14.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.00548, allocations: 0 / 0.5222 GB, free: 14.87 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005154/0.005995, allocations: 278 kB / 0.5224 GB, free: 14.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.006043, allocations: 12.97 kB / 0.5224 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.02265, allocations: 2.435 MB / 0.5248 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.02309, allocations: 157.6 kB / 0.525 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.0231, allocations: 384 / 0.525 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.02315, allocations: 4.375 kB / 0.525 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005808/0.02896, allocations: 1.013 MB / 0.526 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.02897, allocations: 192 / 0.526 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.02901, allocations: 4.375 kB / 0.526 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.02902, allocations: 3.938 kB / 0.526 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.03983, allocations: 1.865 MB / 0.5278 GB, free: 9.223 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006923/0.04675, allocations: 1.388 MB / 0.5292 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.0573, allocations: 1.876 MB / 0.531 GB, free: 5.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005383/0.06268, allocations: 0.9373 MB / 0.5319 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.06272, allocations: 4 kB / 0.5319 GB, free: 4.965 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.06276, allocations: 34.5 kB / 0.5319 GB, free: 4.922 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/0.06276, allocations: 0 / 0.5319 GB, free: 4.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.01583/0.07859, allocations: 2.745 MB / 0.5346 GB, free: 2.168 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.07865, allocations: 55.44 kB / 0.5347 GB, free: 2.102 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.0788, allocations: 113.8 kB / 0.5348 GB, free: 1.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.07897, allocations: 25.7 kB / 0.5348 GB, free: 1.949 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.07905, allocations: 92.09 kB / 0.5349 GB, free: 1.855 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.0791, allocations: 3.938 kB / 0.5349 GB, free: 1.852 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.07922, allocations: 21.69 kB / 0.5349 GB, free: 1.824 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.0794, allocations: 322.8 kB / 0.5352 GB, free: 1.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005303/0.0847, allocations: 0.9326 MB / 0.5361 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005232/0.08993, allocations: 0.9287 MB / 0.537 GB, free: 15.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009895/0.09983, allocations: 1.679 MB / 0.5387 GB, free: 13.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.09983, allocations: 4 kB / 0.5387 GB, free: 13.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01028/0.1101, allocations: 1.812 MB / 0.5405 GB, free: 12.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.1102, allocations: 11.92 kB / 0.5405 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1102, allocations: 0 / 0.5405 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/0.1102, allocations: 0 / 0.5405 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/0.1132, allocations: 467.5 kB / 0.5409 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1132, allocations: 0 / 0.5409 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/0.1162, allocations: 459.5 kB / 0.5413 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.1162, allocations: 3.984 kB / 0.5414 GB, free: 11.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001812/0.1164, allocations: 113.8 kB / 0.5415 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.1165, allocations: 7.891 kB / 0.5415 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.499e-05/0.1165, allocations: 19.56 kB / 0.5415 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1165, allocations: 0 / 0.5415 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1166, allocations: 0 / 0.5415 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1166, allocations: 0 / 0.5415 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.117, allocations: 250.2 kB / 0.5417 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.117, allocations: 0 / 0.5417 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003206/0.1202, allocations: 471.4 kB / 0.5422 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.1202, allocations: 0 / 0.5422 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.1202, allocations: 11.86 kB / 0.5422 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1202, allocations: 0 / 0.5422 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1202, allocations: 0 / 0.5422 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.1307, allocations: 1.904 MB / 0.544 GB, free: 8.391 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.1307, allocations: 7.938 kB / 0.5441 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.1308, allocations: 7.938 kB / 0.5441 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002974/0.1338, allocations: 451.5 kB / 0.5445 GB, free: 7.934 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.1338, allocations: 3.984 kB / 0.5445 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.1339, allocations: 7.984 kB / 0.5445 GB, free: 7.922 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.296e-05/0.1339, allocations: 91.22 kB / 0.5446 GB, free: 7.832 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1339, allocations: 0 / 0.5446 GB, free: 7.832 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000336/0.1343, allocations: 36 kB / 0.5446 GB, free: 7.797 MB / 474.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 (2): * Single equations (assignments): 2 * 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.0001796/0.1345, allocations: 99.23 kB / 0.5447 GB, free: 7.691 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01085/0.1453, allocations: 1.865 MB / 0.5465 GB, free: 5.824 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1453, allocations: 0 / 0.5465 GB, free: 5.824 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005306/0.1506, allocations: 0.9366 MB / 0.5475 GB, free: 4.887 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1509, allocations: 23.97 kB / 0.5475 GB, free: 4.863 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/0.1567, allocations: 1.05 MB / 0.5485 GB, free: 3.785 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.48e-05/0.1568, allocations: 67.34 kB / 0.5486 GB, free: 3.699 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000303/0.1571, allocations: 36 kB / 0.5486 GB, free: 3.664 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.1573, allocations: 20.47 kB / 0.5486 GB, free: 3.641 MB / 474.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1573, allocations: 0 / 0.5486 GB, free: 3.641 MB / 474.7 MB Notification: Performance of Templates: time 0.007897/0.1652, allocations: 2.707 MB / 0.5513 GB, free: 0.9258 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.946297767921351]