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.0009281/0.0009281, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001047/0.001047, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9725/0.9725, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.7569/0.7569, allocations: 154.9 MB / 415.1 MB, free: 220 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.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.553e-06/1.553e-06, allocations: 0 / 480.4 MB, free: 6.574 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.819e-05, allocations: 2.312 kB / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002136/0.002164, allocations: 1.513 MB / 481.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007953/0.002959, allocations: 0.6147 MB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.003008, allocations: 0 / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.003037, allocations: 7.922 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.003086, allocations: 3.406 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.003346, allocations: 66.06 kB / 482.6 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.003446, allocations: 27.31 kB / 482.6 MB, free: 4.387 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.259e-05/0.003519, allocations: 5 kB / 482.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.003634, allocations: 35.09 kB / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.003675, allocations: 12.86 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.003687, allocations: 1.062 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.003779, allocations: 48.72 kB / 482.7 MB, free: 4.293 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.003794, allocations: 13.19 kB / 482.7 MB, free: 4.281 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.003809, allocations: 2.156 kB / 482.7 MB, free: 4.281 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.003931, allocations: 75.73 kB / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003934, allocations: 1 kB / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.003935, allocations: 0 / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.003938, allocations: 0 / 482.8 MB, free: 4.207 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002893/0.004227, allocations: 262.5 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.004264, allocations: 8.031 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/0.006783, allocations: 0.9779 MB / 484 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.006953, allocations: 129.6 kB / 484.2 MB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.006964, allocations: 1.406 kB / 484.2 MB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.00699, allocations: 384 / 484.2 MB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.007648, allocations: 336.4 kB / 484.5 MB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.007657, allocations: 1.219 kB / 484.5 MB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.007675, allocations: 384 / 484.5 MB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.007683, allocations: 11.88 kB / 484.5 MB, free: 2.551 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.007834, allocations: 61.19 kB / 484.6 MB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.009048, allocations: 0.5979 MB / 485.2 MB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.009658, allocations: 292.8 kB / 485.4 MB, free: 1.645 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.637e-05/0.009745, allocations: 43.09 kB / 485.5 MB, free: 1.602 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.009758, allocations: 0 / 485.5 MB, free: 1.602 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.009777, allocations: 34.56 kB / 485.5 MB, free: 1.559 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.009778, allocations: 1.344 kB / 485.5 MB, free: 1.559 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003263/0.0101, allocations: 127.3 kB / 485.6 MB, free: 1.434 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.01013, allocations: 55.41 kB / 485.7 MB, free: 1.367 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.203e-05/0.01019, allocations: 110.7 kB / 485.8 MB, free: 1.246 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.01021, allocations: 26.3 kB / 485.8 MB, free: 1.215 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.01024, allocations: 98.17 kB / 485.9 MB, free: 1.117 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.01027, allocations: 3.953 kB / 485.9 MB, free: 1.113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.01033, allocations: 21.69 kB / 485.9 MB, free: 1.086 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.996e-05/0.0104, allocations: 322.8 kB / 486.3 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.01047, allocations: 21.5 kB / 486.3 MB, free: 0.7422 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.01055, allocations: 35.3 kB / 486.3 MB, free: 0.7109 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.01067, allocations: 51.42 kB / 486.4 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01067, allocations: 4.5 kB / 486.4 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000181/0.01085, allocations: 85.73 kB / 486.5 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.01086, allocations: 4.844 kB / 486.5 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01086, allocations: 0 / 486.5 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01088, allocations: 3.938 kB / 486.5 MB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.01139, allocations: 194.9 kB / 486.7 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.01139, allocations: 4 kB / 486.7 MB, free: 396 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.01181, allocations: 182.8 kB / 486.8 MB, free: 228 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.01183, allocations: 4.703 kB / 486.8 MB, free: 224 kB / 442.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 7.752e-05/0.0119, allocations: 112.2 kB / 487 MB, free: 104 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.01193, allocations: 0 / 487 MB, free: 104 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.01197, allocations: 18.7 kB / 487 MB, free: 92 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01198, allocations: 3.938 kB / 487 MB, free: 88 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01198, allocations: 0 / 487 MB, free: 88 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01198, allocations: 3.984 kB / 487 MB, free: 84 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.01215, allocations: 125.8 kB / 487.1 MB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01215, allocations: 3.938 kB / 487.1 MB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.01262, allocations: 192.3 kB / 487.3 MB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01262, allocations: 0.6875 kB / 487.3 MB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.01264, allocations: 5.141 kB / 487.3 MB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01264, allocations: 7.938 kB / 487.3 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01264, allocations: 0 / 487.3 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.01286, allocations: 179.2 kB / 487.5 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.01286, allocations: 8.672 kB / 487.5 MB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.01289, allocations: 0 / 487.5 MB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.01333, allocations: 185.4 kB / 487.7 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.01335, allocations: 11.92 kB / 487.7 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.01337, allocations: 3.984 kB / 487.7 MB, free: 15.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.411e-05/0.01338, allocations: 14.36 kB / 487.7 MB, free: 15.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01338, allocations: 0 / 487.7 MB, free: 15.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.01354, allocations: 32 kB / 487.7 MB, free: 15.33 MB / 458.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 8.82e-05/0.01363, allocations: 77.14 kB / 487.8 MB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.01384, allocations: 81.44 kB / 487.9 MB, free: 15.17 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.01384, allocations: 0 / 487.9 MB, free: 15.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.01394, allocations: 51.39 kB / 487.9 MB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.01407, allocations: 26.47 kB / 488 MB, free: 15.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.01447, allocations: 168.6 kB / 488.1 MB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.221e-05/0.01451, allocations: 55.34 kB / 488.2 MB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.01465, allocations: 40.98 kB / 488.2 MB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.01481, allocations: 59.34 kB / 488.3 MB, free: 14.75 MB / 458.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01482, allocations: 0 / 488.3 MB, free: 14.75 MB / 458.7 MB Notification: Performance of Templates: time 0.003803/0.01862, allocations: 2.807 MB / 491.1 MB, free: 11.96 MB / 458.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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6426097890362144]