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.0009029/0.0009029, allocations: 80.94 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.0009502/0.0009502, allocations: 173 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.081/1.081, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7734/0.7734, 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.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 1.533e-06/1.533e-06, allocations: 0 / 480.4 MB, free: 6.582 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.495e-05, allocations: 10.05 kB / 480.4 MB, free: 6.578 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002166/0.002191, allocations: 1.492 MB / 481.9 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003386/0.002529, allocations: 190.5 kB / 482.1 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.002559, allocations: 4 kB / 482.1 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.002583, allocations: 1.406 kB / 482.1 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.002629, allocations: 9.562 kB / 482.1 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.002864, allocations: 36.83 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.822e-05/0.002923, allocations: 26.33 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.47e-05/0.002987, allocations: 4 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.003042, allocations: 17.61 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/0.003074, allocations: 12.75 kB / 482.2 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.003087, allocations: 4 kB / 482.2 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.814e-05/0.003155, allocations: 28.88 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.00317, allocations: 5.203 kB / 482.2 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.003185, allocations: 4.766 kB / 482.2 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.797e-05/0.003283, allocations: 45.88 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.003285, allocations: 0 / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.003286, allocations: 1.719 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.003289, allocations: 0 / 482.2 MB, free: 4.75 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.0002587/0.003547, allocations: 245.6 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.003577, allocations: 11.97 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.003601, allocations: 9.953 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.736e-05/0.003678, allocations: 110.5 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.003687, allocations: 1.969 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.003695, allocations: 1.281 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.652e-05/0.003782, allocations: 50.95 kB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.003788, allocations: 1.094 kB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.003795, allocations: 4.375 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.003799, allocations: 1.375 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.003818, allocations: 12.47 kB / 482.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.003997, allocations: 148.2 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.648e-05/0.004033, allocations: 23.23 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.236e-05/0.004046, allocations: 11.55 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.004254, allocations: 62.38 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.004273, allocations: 35.86 kB / 483 MB, free: 3.957 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.004274, allocations: 0 / 483 MB, free: 3.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.356e-05/0.004368, allocations: 38.56 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.004395, allocations: 59.94 kB / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.96e-05/0.004445, allocations: 98.72 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.004453, allocations: 27.14 kB / 483.2 MB, free: 3.703 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.004482, allocations: 96.11 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.004497, allocations: 5.047 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.004525, allocations: 13.72 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.0046, allocations: 311.6 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.004608, allocations: 0 / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-06/0.004616, allocations: 5.438 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.01e-05/0.004636, allocations: 12.84 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004638, allocations: 0 / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.215e-05/0.00468, allocations: 38.48 kB / 483.7 MB, free: 3.207 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.00469, allocations: 4.719 kB / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.004695, allocations: 3.984 kB / 483.7 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.004706, allocations: 1.531 kB / 483.7 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.51e-05/0.004751, allocations: 11.94 kB / 483.7 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.004753, allocations: 1.094 kB / 483.7 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.004767, allocations: 0 / 483.7 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.00477, allocations: 0 / 483.7 MB, free: 3.188 MB / 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 4.702e-05/0.004817, allocations: 114.4 kB / 483.8 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.00483, allocations: 5.703 kB / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.933e-05/0.004889, allocations: 48.8 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.004891, allocations: 0 / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.004893, allocations: 4.562 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004895, allocations: 1.453 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.535e-05/0.004971, allocations: 66.52 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.004972, allocations: 0.625 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.004991, allocations: 11.98 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.004992, allocations: 0.7188 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-06/0.004995, allocations: 0 / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004996, allocations: 1.984 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004996, allocations: 0 / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.929e-05/0.005056, allocations: 135.5 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.005064, allocations: 13.05 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-06/0.00507, allocations: 0 / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.656e-05/0.005097, allocations: 6.156 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.005121, allocations: 11.92 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.005123, allocations: 0 / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.039e-05/0.005133, allocations: 13.61 kB / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005133, allocations: 0 / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001195/0.005253, allocations: 12.53 kB / 484.1 MB, free: 2.711 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 (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.0001008/0.005354, allocations: 92.92 kB / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.718e-05/0.005401, allocations: 14.7 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.005403, allocations: 0 / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.005416, allocations: 9.734 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.00554, allocations: 9.859 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.005738, allocations: 106.9 kB / 484.3 MB, free: 2.445 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.18e-05/0.00577, allocations: 51.36 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.376e-05/0.005784, allocations: 1.625 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.005821, allocations: 51.38 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.005821, allocations: 0 / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of Templates: time 0.001952/0.007774, allocations: 0.6191 MB / 485.1 MB, free: 1.742 MB / 442.7 MB " [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: 3.5777098019607365]