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.001357/0.001357, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.00157/0.00157, allocations: 171.3 kB / 22.46 MB, free: 5.355 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.463/1.463, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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.282/1.282, allocations: 154.5 MB / 413.7 MB, free: 5.289 MB / 382.1 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.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 2.304e-06/2.304e-06, allocations: 0 / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.437e-05, allocations: 5.672 kB / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003589/0.003624, allocations: 1.481 MB / 0.62 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005118/0.004136, allocations: 139.5 kB / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.004194, allocations: 4 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.253e-05/0.004247, allocations: 0 / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.975e-05/0.004336, allocations: 7.875 kB / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.004662, allocations: 31.89 kB / 0.6202 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.00479, allocations: 47.84 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.00494, allocations: 16 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/0.005017, allocations: 27.95 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.005069, allocations: 19.98 kB / 0.6203 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.005092, allocations: 7.938 kB / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.005202, allocations: 31.86 kB / 0.6203 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.005228, allocations: 7.984 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.005266, allocations: 15.98 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.00553, allocations: 71.78 kB / 0.6204 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005534, allocations: 0 / 0.6204 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005534, allocations: 0 / 0.6204 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.005546, allocations: 0 / 0.6204 GB, free: 2.746 MB / 0.5294 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.0005658/0.006112, allocations: 290.2 kB / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.006156, allocations: 13.47 kB / 0.6207 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.007415, allocations: 212.5 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.007549, allocations: 113.7 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.007564, allocations: 384 / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.007588, allocations: 8.375 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.008223, allocations: 190 kB / 0.6212 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.008233, allocations: 8.125 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.008261, allocations: 384 / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.008266, allocations: 384 / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009737/0.00924, allocations: 287.5 kB / 0.6215 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.01026, allocations: 365 kB / 0.6218 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.01153, allocations: 282.2 kB / 0.6221 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.01193, allocations: 100.8 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.01196, allocations: 7.938 kB / 0.6222 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.01199, allocations: 38.55 kB / 0.6222 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.01199, allocations: 0 / 0.6222 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001328/0.01332, allocations: 313.2 kB / 0.6225 GB, free: 452 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.01336, allocations: 51.41 kB / 0.6226 GB, free: 388 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.01346, allocations: 109.9 kB / 0.6227 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.01349, allocations: 29.7 kB / 0.6227 GB, free: 232 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.01356, allocations: 84.14 kB / 0.6228 GB, free: 144 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.01359, allocations: 15.84 kB / 0.6228 GB, free: 128 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.01365, allocations: 21.7 kB / 0.6228 GB, free: 100 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.01389, allocations: 310.8 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.01431, allocations: 99.88 kB / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.01469, allocations: 91.88 kB / 0.6233 GB, free: 15.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/0.01545, allocations: 180.9 kB / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01545, allocations: 3.938 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008588/0.01631, allocations: 213.4 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.01633, allocations: 8 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.01634, allocations: 4 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01635, allocations: 0 / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.01663, allocations: 35.94 kB / 0.6237 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.01663, allocations: 0 / 0.6237 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.01684, allocations: 27.89 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.01685, allocations: 4 kB / 0.6238 GB, free: 15.12 MB / 0.545 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 0.000116/0.01697, allocations: 114.8 kB / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.017, allocations: 15.81 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.01706, allocations: 12 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01706, allocations: 0 / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01706, allocations: 0 / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.01707, allocations: 0 / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.01729, allocations: 141.3 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01729, allocations: 0 / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.01755, allocations: 43.88 kB / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01755, allocations: 3.938 kB / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.01756, allocations: 4 kB / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01757, allocations: 4 kB / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01757, allocations: 0 / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008917/0.01846, allocations: 299.3 kB / 0.6244 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.01848, allocations: 11.95 kB / 0.6244 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.0185, allocations: 7.938 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.01875, allocations: 31.94 kB / 0.6244 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.01879, allocations: 0 / 0.6244 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01879, allocations: 0 / 0.6244 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.721e-05/0.01886, allocations: 91.27 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01886, allocations: 0 / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002466/0.01911, allocations: 12 kB / 0.6245 GB, free: 14.28 MB / 0.545 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.0001348/0.01924, allocations: 95.19 kB / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008758/0.02012, allocations: 199.7 kB / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02012, allocations: 0 / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.02054, allocations: 99.88 kB / 0.6249 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.02079, allocations: 4 kB / 0.6249 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.0219, allocations: 268.4 kB / 0.6251 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.02198, allocations: 67.34 kB / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.353e-05/0.02206, allocations: 19.98 kB / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.02212, allocations: 20.42 kB / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.02212, allocations: 0 / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Templates: time 0.004643/0.02677, allocations: 0.9617 MB / 0.6262 GB, free: 12.52 MB / 0.545 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: 6.083829678595066] Failed to read output from testmodel.py, exit status != 0: 0.036390047520399094 0.053892443000000005 0.044191417000000004 Calling exit ...