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.0007394/0.0007394, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007497/0.0007497, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.872/0.872, allocations: 177.1 MB / 203.5 MB, free: 5.723 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-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 0.721/0.721, allocations: 154.5 MB / 414.5 MB, free: 0.8203 MB / 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.593e-06/1.593e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.13e-05, allocations: 5.781 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001679/0.0017, allocations: 1.481 MB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002903/0.00199, allocations: 139.5 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.002022, allocations: 0 / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.00206, allocations: 3.938 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.002127, allocations: 7.938 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.002337, allocations: 35.89 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.58e-05/0.002423, allocations: 39.91 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.885e-05/0.002521, allocations: 15.98 kB / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.00257, allocations: 27.91 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.488e-05/0.002605, allocations: 15.98 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.002621, allocations: 4 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.034e-05/0.002691, allocations: 31.92 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.002712, allocations: 19.91 kB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.00273, allocations: 8 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.002851, allocations: 71.78 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002853, allocations: 0 / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002854, allocations: 0 / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.002857, allocations: 7.938 kB / 0.6211 GB, free: 11.32 MB / 0.5886 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.0003266/0.003184, allocations: 282.2 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.003216, allocations: 13.41 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005419/0.003757, allocations: 212.5 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.539e-05/0.003833, allocations: 113.7 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.003845, allocations: 8.359 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.003858, allocations: 384 / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.004181, allocations: 194 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.004188, allocations: 192 / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.004201, allocations: 4.375 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004205, allocations: 384 / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.004629, allocations: 287.5 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.005181, allocations: 365.3 kB / 0.6226 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.005723, allocations: 282.2 kB / 0.6228 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.005899, allocations: 100.8 kB / 0.6229 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.005919, allocations: 7.938 kB / 0.6229 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.005937, allocations: 34.5 kB / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.005938, allocations: 0 / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0006038/0.006542, allocations: 313.3 kB / 0.6233 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.00657, allocations: 51.41 kB / 0.6233 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.006628, allocations: 109.8 kB / 0.6234 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.006639, allocations: 25.7 kB / 0.6234 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.006678, allocations: 88.14 kB / 0.6235 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.006699, allocations: 15.84 kB / 0.6235 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.006733, allocations: 21.7 kB / 0.6236 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.006807, allocations: 310.8 kB / 0.6239 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.006983, allocations: 95.88 kB / 0.6239 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.00715, allocations: 95.81 kB / 0.624 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.007466, allocations: 176.6 kB / 0.6242 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007468, allocations: 0 / 0.6242 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003728/0.007841, allocations: 217.4 kB / 0.6244 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.007853, allocations: 4 kB / 0.6244 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.007858, allocations: 0 / 0.6244 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.007868, allocations: 0 / 0.6244 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.007994, allocations: 35.95 kB / 0.6245 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.007999, allocations: 4.297 kB / 0.6245 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.008083, allocations: 31.95 kB / 0.6245 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.008091, allocations: 0 / 0.6245 GB, free: 7.715 MB / 0.5886 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 6.355e-05/0.008155, allocations: 118.8 kB / 0.6246 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.008174, allocations: 15.88 kB / 0.6246 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.008211, allocations: 4 kB / 0.6246 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.008214, allocations: 4 kB / 0.6246 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.008217, allocations: 4.328 kB / 0.6246 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.00822, allocations: 0 / 0.6246 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.008341, allocations: 145.2 kB / 0.6248 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008341, allocations: 4 kB / 0.6248 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.393e-05/0.008435, allocations: 35.94 kB / 0.6248 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.008439, allocations: 7.922 kB / 0.6248 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.008447, allocations: 0 / 0.6248 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008449, allocations: 4 kB / 0.6248 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008449, allocations: 0 / 0.6248 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.008839, allocations: 307.3 kB / 0.6251 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.008846, allocations: 7.953 kB / 0.6251 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.00886, allocations: 3.938 kB / 0.6251 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.008965, allocations: 39.88 kB / 0.6252 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.008995, allocations: 0 / 0.6252 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.009, allocations: 4 kB / 0.6252 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.009031, allocations: 91.25 kB / 0.6252 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009031, allocations: 4 kB / 0.6253 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000152/0.009183, allocations: 12 kB / 0.6253 GB, free: 6.855 MB / 0.5886 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 6.895e-05/0.009252, allocations: 91.25 kB / 0.6254 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.009639, allocations: 199.7 kB / 0.6255 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.00964, allocations: 0 / 0.6255 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.01007, allocations: 103.8 kB / 0.6256 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.01024, allocations: 0 / 0.6256 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.01075, allocations: 282.4 kB / 0.6259 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.0108, allocations: 71.33 kB / 0.626 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.01085, allocations: 16.48 kB / 0.626 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.01085, allocations: 0 / 0.626 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of Templates: time 0.001657/0.01251, allocations: 1.166 MB / 0.6271 GB, free: 4.883 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.907417383976281] Failed to read output from testmodel.py, exit status != 0: 0.01712678000330925 0.025176221000000002 0.020476134 Calling exit ...