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.001473/0.001473, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001858/0.001858, allocations: 212.9 kB / 22.25 MB, free: 5.242 MB / 14.72 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 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-531:190: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-531:198: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.324/1.324, allocations: 203.8 MB / 0.5042 GB, free: 4.609 MB / 414.1 MB " [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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.88 kB / 0.7186 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6685, allocations: 102 MB / 0.8183 GB, free: 29.15 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002833/0.6713, allocations: 1.482 MB / 0.8197 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0003771/0.6717, allocations: 140.3 kB / 0.8198 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.6717, allocations: 1.438 kB / 0.8198 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.6717, allocations: 6.625 kB / 0.8199 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.6718, allocations: 9.641 kB / 0.8199 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.672, allocations: 29.02 kB / 0.8199 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.574e-05/0.6721, allocations: 43.84 kB / 0.8199 GB, free: 28.03 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.6722, allocations: 17.5 kB / 0.8199 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.729e-05/0.6722, allocations: 19.61 kB / 0.82 GB, free: 28.01 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.6723, allocations: 18.2 kB / 0.82 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.6723, allocations: 4.25 kB / 0.82 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.6724, allocations: 32.86 kB / 0.82 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.6724, allocations: 12.69 kB / 0.82 GB, free: 27.99 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.6724, allocations: 21.84 kB / 0.8201 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.6725, allocations: 68.86 kB / 0.8201 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6725, allocations: 1.125 kB / 0.8201 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6725, allocations: 0 / 0.8201 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.6726, allocations: 0 / 0.8201 GB, free: 27.95 MB / 0.6387 GB 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.0003605/0.6729, allocations: 280.8 kB / 0.8204 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.6729, allocations: 11.03 kB / 0.8204 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.6741, allocations: 214.7 kB / 0.8206 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.285e-05/0.6742, allocations: 115.7 kB / 0.8207 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.6742, allocations: 7.391 kB / 0.8207 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.6743, allocations: 2.562 kB / 0.8207 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.6749, allocations: 193.7 kB / 0.8209 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6749, allocations: 1.422 kB / 0.8209 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.6749, allocations: 4.594 kB / 0.8209 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.6749, allocations: 1.594 kB / 0.8209 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009593/0.6759, allocations: 279.8 kB / 0.8212 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.6769, allocations: 381.8 kB / 0.8215 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.6781, allocations: 286.5 kB / 0.8218 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.6784, allocations: 102.5 kB / 0.8219 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.6785, allocations: 1 kB / 0.8219 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.6785, allocations: 36.75 kB / 0.822 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.6785, allocations: 0 / 0.822 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.001275/0.6798, allocations: 309.2 kB / 0.8222 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.6798, allocations: 55.55 kB / 0.8223 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.6799, allocations: 108.5 kB / 0.8224 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.6799, allocations: 25.7 kB / 0.8224 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.68, allocations: 95.91 kB / 0.8225 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.68, allocations: 9.656 kB / 0.8225 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.6801, allocations: 20.5 kB / 0.8225 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.6801, allocations: 314.9 kB / 0.8228 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.6805, allocations: 99.05 kB / 0.8229 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.6809, allocations: 92.08 kB / 0.823 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.6816, allocations: 181.7 kB / 0.8232 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6816, allocations: 0 / 0.8232 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007404/0.6823, allocations: 208.5 kB / 0.8234 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6823, allocations: 4.844 kB / 0.8234 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6823, allocations: 1.266 kB / 0.8234 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.6823, allocations: 8.547 kB / 0.8234 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.6826, allocations: 36.61 kB / 0.8235 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6826, allocations: 1.406 kB / 0.8235 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.6828, allocations: 27.08 kB / 0.8235 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.6828, allocations: 2 kB / 0.8235 GB, free: 26.2 MB / 0.6387 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 (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 8.057e-05/0.6829, allocations: 125.8 kB / 0.8236 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.6829, allocations: 9.172 kB / 0.8236 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.683, allocations: 13.12 kB / 0.8236 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.683, allocations: 0 / 0.8236 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.683, allocations: 0 / 0.8236 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.683, allocations: 2.078 kB / 0.8236 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.6832, allocations: 143.4 kB / 0.8238 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6832, allocations: 4.75 kB / 0.8238 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.6834, allocations: 33.09 kB / 0.8238 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6834, allocations: 0 / 0.8238 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.6834, allocations: 6.188 kB / 0.8238 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.6834, allocations: 0 / 0.8238 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6834, allocations: 0 / 0.8238 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.6842, allocations: 309.6 kB / 0.8241 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.6842, allocations: 5.719 kB / 0.8241 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.6843, allocations: 5.375 kB / 0.8241 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.6845, allocations: 31.48 kB / 0.8241 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.6845, allocations: 2.719 kB / 0.8241 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.6845, allocations: 10.64 kB / 0.8242 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.6846, allocations: 87.98 kB / 0.8242 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6846, allocations: 0 / 0.8242 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002443/0.6848, allocations: 12.41 kB / 0.8242 GB, free: 25.66 MB / 0.6387 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 (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 0.0001083/0.6849, allocations: 92.67 kB / 0.8243 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008139/0.6857, allocations: 195.9 kB / 0.8245 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6857, allocations: 0.9375 kB / 0.8245 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.6861, allocations: 103.7 kB / 0.8246 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.6864, allocations: 15.06 kB / 0.8246 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009515/0.6873, allocations: 253.1 kB / 0.8249 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.381e-05/0.6874, allocations: 75.16 kB / 0.8249 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.662e-05/0.6875, allocations: 19.67 kB / 0.825 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.6875, allocations: 11.05 kB / 0.825 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of SimCode: time 4.01e-07/0.6875, allocations: 0 / 0.825 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.00404/0.6916, allocations: 0.9883 MB / 0.8259 GB, free: 25.17 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9274292681366205] Failed to read output from testmodel.py, exit status != 0: 0.6999430526047945 0.7118753040000001 0.036710406 Calling exit ...