Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001276/0.001276, allocations: 80.52 kB / 19.76 MB, free: 2.059 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.001415/0.001415, allocations: 156.1 kB / 23.01 MB, free: 4.949 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.493/1.493, allocations: 177.2 MB / 203.4 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8367/0.8367, allocations: 101.3 MB / 361.1 MB, free: 10.07 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") [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.002135/0.002135, allocations: 66.05 kB / 0.5356 GB, free: 5.406 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1974, allocations: 85.88 MB / 0.6195 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.00312/0.2005, allocations: 1.487 MB / 0.6209 GB, free: 248 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2017, allocations: 0.5813 MB / 0.6215 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.2017, allocations: 0 / 0.6215 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.2017, allocations: 3.938 kB / 0.6215 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.2018, allocations: 3.938 kB / 0.6215 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.2021, allocations: 63.81 kB / 0.6216 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.2022, allocations: 27.86 kB / 0.6216 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.2023, allocations: 7.938 kB / 0.6216 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2024, allocations: 27.97 kB / 0.6216 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.2025, allocations: 15.92 kB / 0.6217 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.2025, allocations: 4 kB / 0.6217 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.2026, allocations: 55.95 kB / 0.6217 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.2026, allocations: 3.938 kB / 0.6217 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.2027, allocations: 15.92 kB / 0.6217 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.2028, allocations: 67.73 kB / 0.6218 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2028, allocations: 0 / 0.6218 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2028, allocations: 0 / 0.6218 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.2028, allocations: 0 / 0.6218 GB, free: 15.36 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004817/0.2033, allocations: 282.1 kB / 0.6221 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2034, allocations: 12.03 kB / 0.6221 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.2035, allocations: 12.88 kB / 0.6221 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.2037, allocations: 126.4 kB / 0.6222 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.2037, allocations: 384 / 0.6222 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.2038, allocations: 384 / 0.6222 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2039, allocations: 46 kB / 0.6223 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2039, allocations: 0 / 0.6223 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2039, allocations: 4 kB / 0.6223 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2039, allocations: 0 / 0.6223 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.204, allocations: 23.98 kB / 0.6223 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.2043, allocations: 208.4 kB / 0.6225 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.586e-05/0.2044, allocations: 38.5 kB / 0.6225 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.2044, allocations: 12.92 kB / 0.6225 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006602/0.2051, allocations: 95.86 kB / 0.6226 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.2051, allocations: 34.56 kB / 0.6227 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.2051, allocations: 0 / 0.6227 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002935/0.2054, allocations: 61.61 kB / 0.6227 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.2055, allocations: 55.41 kB / 0.6228 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2056, allocations: 109.8 kB / 0.6229 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.2057, allocations: 29.7 kB / 0.6229 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.2057, allocations: 84.14 kB / 0.623 GB, free: 14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.2057, allocations: 4.078 kB / 0.623 GB, free: 14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.2058, allocations: 21.7 kB / 0.623 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2059, allocations: 314.8 kB / 0.6233 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.206, allocations: 8 kB / 0.6233 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.206, allocations: 11.98 kB / 0.6233 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.185e-05/0.2061, allocations: 24.84 kB / 0.6233 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2061, allocations: 4 kB / 0.6233 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001395/0.2063, allocations: 61.58 kB / 0.6234 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2063, allocations: 8.031 kB / 0.6234 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2063, allocations: 0 / 0.6234 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.2063, allocations: 384 / 0.6234 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.2064, allocations: 7.984 kB / 0.6234 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.2064, allocations: 4 kB / 0.6234 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.2064, allocations: 0 / 0.6234 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.2065, allocations: 3.938 kB / 0.6234 GB, free: 13.51 MB / 0.5294 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 (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 0.000104/0.2066, allocations: 117.8 kB / 0.6235 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.2066, allocations: 0 / 0.6235 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.2068, allocations: 69.23 kB / 0.6236 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2068, allocations: 0 / 0.6236 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2068, allocations: 0 / 0.6236 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2068, allocations: 3.984 kB / 0.6236 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.207, allocations: 101.3 kB / 0.6237 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.207, allocations: 7.938 kB / 0.6237 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.2071, allocations: 11.98 kB / 0.6237 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2071, allocations: 3.938 kB / 0.6237 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2071, allocations: 4 kB / 0.6237 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2071, allocations: 0 / 0.6237 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2071, allocations: 4.031 kB / 0.6237 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.2073, allocations: 155.5 kB / 0.6239 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.2073, allocations: 3.938 kB / 0.6239 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2073, allocations: 0 / 0.6239 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.2074, allocations: 4 kB / 0.6239 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.2074, allocations: 11.92 kB / 0.6239 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2074, allocations: 0 / 0.6239 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.2075, allocations: 83.28 kB / 0.624 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2075, allocations: 0 / 0.624 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002472/0.2077, allocations: 23.92 kB / 0.624 GB, free: 12.86 MB / 0.5294 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 (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.0001855/0.2079, allocations: 115.2 kB / 0.6241 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.2081, allocations: 19.98 kB / 0.6241 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2081, allocations: 0 / 0.6241 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/0.2081, allocations: 11.98 kB / 0.6241 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2083, allocations: 10.28 kB / 0.6242 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.2087, allocations: 134.7 kB / 0.6243 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.511e-05/0.2087, allocations: 67.47 kB / 0.6244 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.2088, allocations: 4 kB / 0.6244 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.2088, allocations: 12.77 kB / 0.6244 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.2088, allocations: 0 / 0.6244 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.003299/0.2121, allocations: 0.6578 MB / 0.625 GB, free: 11.78 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.482755936216563] Failed to read output from testmodel.py, exit status != 0: 0.22016691416502 0.23522830900000002 0.029374694000000003 Calling exit ...