Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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.001931/0.001931, allocations: 85.48 kB / 19.44 MB, free: 336 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.002162/0.002162, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.172 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.32/1.32, allocations: 154.8 MB / 414.3 MB, free: 380 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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.901e-06, allocations: 4 kB / 0.5199 GB, free: 2.242 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.176e-05/4.766e-05, allocations: 2.875 kB / 0.5199 GB, free: 2.238 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002855/0.002903, allocations: 1.469 MB / 0.5213 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004916/0.003395, allocations: 192 kB / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.003428, allocations: 3.312 kB / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.003455, allocations: 3.938 kB / 0.5215 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.003511, allocations: 3.938 kB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.003797, allocations: 39.84 kB / 0.5215 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.183e-05/0.003869, allocations: 19.92 kB / 0.5215 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.73e-05/0.003957, allocations: 8 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.997e-05/0.004037, allocations: 19.91 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.004071, allocations: 4 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.004086, allocations: 0.7812 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.004181, allocations: 35.95 kB / 0.5216 GB, free: 468 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.004199, allocations: 4.5 kB / 0.5216 GB, free: 464 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.00422, allocations: 8 kB / 0.5216 GB, free: 456 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.004365, allocations: 48.8 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004367, allocations: 0 / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004368, allocations: 1.594 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004372, allocations: 0 / 0.5217 GB, free: 408 kB / 490.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.0005429/0.004915, allocations: 368.2 kB / 0.522 GB, free: 0 / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.862e-05/0.004984, allocations: 8.078 kB / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.005026, allocations: 5.906 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.005187, allocations: 112.6 kB / 0.5221 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.005203, allocations: 4.375 kB / 0.5221 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.005212, allocations: 6.312 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.005368, allocations: 46.14 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.005377, allocations: 192 / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.005385, allocations: 384 / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.005389, allocations: 384 / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.005513, allocations: 36.58 kB / 0.5222 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.005899, allocations: 248.5 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.006061, allocations: 43.67 kB / 0.5225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.006142, allocations: 16.41 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.508e-05/0.006227, allocations: 15.92 kB / 0.5225 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.00627, allocations: 34.83 kB / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.006271, allocations: 0 / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003143/0.006585, allocations: 66.39 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.006642, allocations: 51.41 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.006791, allocations: 166.8 kB / 0.5228 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.006823, allocations: 25.7 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.006982, allocations: 137.9 kB / 0.523 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.007009, allocations: 11.89 kB / 0.523 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.007053, allocations: 23.38 kB / 0.523 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002587/0.007311, allocations: 492.1 kB / 0.5235 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.007374, allocations: 15.98 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.007414, allocations: 7.938 kB / 0.5235 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.007519, allocations: 32.17 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007521, allocations: 1.062 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001477/0.007668, allocations: 61.67 kB / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.007683, allocations: 4.531 kB / 0.5236 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.007689, allocations: 4.906 kB / 0.5236 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.007704, allocations: 0 / 0.5236 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.007791, allocations: 4.938 kB / 0.5236 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.007801, allocations: 4 kB / 0.5236 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.007833, allocations: 3.984 kB / 0.5236 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.007838, allocations: 0.7188 kB / 0.5236 GB, free: 14.19 MB / 0.4948 GB 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.0001165/0.007955, allocations: 161.5 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.007979, allocations: 3.953 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.008171, allocations: 70.14 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008173, allocations: 0 / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.008177, allocations: 3.938 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.00818, allocations: 0.625 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.008344, allocations: 118.3 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008345, allocations: 4 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.008385, allocations: 4.25 kB / 0.524 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.008387, allocations: 0 / 0.524 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.008397, allocations: 4 kB / 0.524 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.008401, allocations: 5.219 kB / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008401, allocations: 0 / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.008644, allocations: 211.1 kB / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.008662, allocations: 4 kB / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.008674, allocations: 0 / 0.5242 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.008736, allocations: 7.938 kB / 0.5242 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.00878, allocations: 3.984 kB / 0.5242 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.008784, allocations: 0 / 0.5242 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.848e-05/0.008862, allocations: 127.2 kB / 0.5243 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008862, allocations: 0 / 0.5243 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000218/0.00908, allocations: 12 kB / 0.5243 GB, free: 13.4 MB / 0.4948 GB 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.0001984/0.009279, allocations: 114.3 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.009455, allocations: 35.61 kB / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009457, allocations: 0 / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.045e-05/0.009527, allocations: 23.67 kB / 0.5245 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.009794, allocations: 5.812 kB / 0.5245 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.01019, allocations: 114.3 kB / 0.5246 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.01043, allocations: 55.36 kB / 0.5247 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.01046, allocations: 9.641 kB / 0.5247 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.01049, allocations: 12.5 kB / 0.5247 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.01049, allocations: 0 / 0.5247 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.003744/0.01424, allocations: 0.6266 MB / 0.5253 GB, free: 12.38 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.049731052946299]