Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.001042/0.001042, allocations: 76.94 kB / 19.94 MB, free: 4.539 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.001055/0.001055, allocations: 173 kB / 23.36 MB, free: 1.125 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.002/1.002, 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.8025/0.8025, allocations: 154.9 MB / 415.1 MB, free: 224 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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.714e-05, allocations: 2.312 kB / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002236/0.002253, allocations: 1.558 MB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003276/0.002581, allocations: 147 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.002609, allocations: 0.7812 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.002648, allocations: 7.922 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.002712, allocations: 3.625 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.002885, allocations: 36.48 kB / 482.2 MB, free: 4.789 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.311e-05/0.002968, allocations: 38 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.003059, allocations: 18.7 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.078e-05/0.00311, allocations: 25.5 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.003147, allocations: 14.89 kB / 482.2 MB, free: 4.707 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.003161, allocations: 4 kB / 482.3 MB, free: 4.703 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.003252, allocations: 35.97 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.003267, allocations: 10.59 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.003288, allocations: 17.39 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.003402, allocations: 64 kB / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003403, allocations: 0 / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.003404, allocations: 0.875 kB / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.575e-06/0.003406, allocations: 2.344 kB / 482.4 MB, free: 4.586 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002713/0.003677, allocations: 255.9 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.003713, allocations: 12.03 kB / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.004197, allocations: 77.69 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.006e-05/0.004267, allocations: 109.8 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.004276, allocations: 6.203 kB / 482.8 MB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.004287, allocations: 384 / 482.8 MB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.004485, allocations: 108.1 kB / 482.9 MB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.004491, allocations: 192 / 482.9 MB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.004503, allocations: 5 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.004506, allocations: 4.312 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.004e-05/0.004566, allocations: 28.56 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.004929, allocations: 210.2 kB / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.005125, allocations: 67.77 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.005158, allocations: 21.64 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.005171, allocations: 0 / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.005205, allocations: 35.64 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.005206, allocations: 4 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001426/0.005349, allocations: 55.66 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.005372, allocations: 52.17 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.005423, allocations: 115.6 kB / 483.5 MB, free: 3.332 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.005435, allocations: 25.7 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.005468, allocations: 96.06 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.005488, allocations: 8.531 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.005529, allocations: 19.02 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.005608, allocations: 322.7 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.005637, allocations: 11.98 kB / 484 MB, free: 2.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.005661, allocations: 4.531 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.005713, allocations: 23.5 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.005714, allocations: 0 / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.372e-05/0.005798, allocations: 45.69 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.00581, allocations: 13 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005814, allocations: 0 / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.005822, allocations: 0 / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.005927, allocations: 28.53 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.00593, allocations: 1.281 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.005986, allocations: 11.98 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.005994, allocations: 0 / 484.1 MB, free: 2.707 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 (3): * Single equations (assignments): 3 * 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 9.08e-05/0.006085, allocations: 106.6 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.006109, allocations: 9.703 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.006136, allocations: 11.94 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.006139, allocations: 4 kB / 484.3 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.00614, allocations: 0 / 484.3 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006143, allocations: 0.7812 kB / 484.3 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.006262, allocations: 77.88 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006263, allocations: 1.719 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.006341, allocations: 21.34 kB / 484.4 MB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.006343, allocations: 0 / 484.4 MB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.006353, allocations: 3.984 kB / 484.4 MB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.006355, allocations: 4 kB / 484.4 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.006357, allocations: 4.594 kB / 484.4 MB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.00647, allocations: 140.1 kB / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-06/0.006478, allocations: 7.953 kB / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.006492, allocations: 6.516 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.006576, allocations: 11.98 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.006599, allocations: 7.922 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.006606, allocations: 0.9375 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.531e-05/0.006621, allocations: 16.84 kB / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006621, allocations: 1.031 kB / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.006806, allocations: 15.94 kB / 484.6 MB, free: 2.227 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 (3): * Single equations (assignments): 3 * 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 5.736e-05/0.006864, allocations: 73.27 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.746e-05/0.006951, allocations: 33.38 kB / 484.7 MB, free: 2.113 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.006954, allocations: 0 / 484.7 MB, free: 2.113 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.006992, allocations: 21.28 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.007147, allocations: 24.58 kB / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.007462, allocations: 154.6 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.544e-05/0.007498, allocations: 61.38 kB / 484.9 MB, free: 1.816 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.604e-05/0.007544, allocations: 5.625 kB / 484.9 MB, free: 1.812 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.007616, allocations: 52.69 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007617, allocations: 0 / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of Templates: time 0.002393/0.01001, allocations: 0.9542 MB / 485.9 MB, free: 0.8594 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7865120442584157]