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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 191.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.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.8449/0.8449, allocations: 134 MB / 440.3 MB, free: 228 kB / 334.1 MB
"
[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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 60.72 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.196, allocations: 84.74 MB / 0.6935 GB, free: 9.012 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002822/0.1988, allocations: 1.463 MB / 0.6949 GB, free: 7.535 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.001067/0.1999, allocations: 0.5812 MB / 0.6955 GB, free: 6.945 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.2, allocations: 0 / 0.6955 GB, free: 6.945 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.2, allocations: 0 / 0.6955 GB, free: 6.945 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.2, allocations: 3.938 kB / 0.6955 GB, free: 6.941 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2003, allocations: 51.81 kB / 0.6955 GB, free: 6.891 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 8.869e-05/0.2004, allocations: 31.81 kB / 0.6956 GB, free: 6.859 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2005, allocations: 7.969 kB / 0.6956 GB, free: 6.852 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.537e-05/0.2006, allocations: 16 kB / 0.6956 GB, free: 6.836 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.2007, allocations: 11.92 kB / 0.6956 GB, free: 6.824 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.2007, allocations: 0 / 0.6956 GB, free: 6.824 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.2008, allocations: 59.95 kB / 0.6957 GB, free: 6.766 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.2008, allocations: 7.922 kB / 0.6957 GB, free: 6.758 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.2009, allocations: 11.94 kB / 0.6957 GB, free: 6.746 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.201, allocations: 67.73 kB / 0.6957 GB, free: 6.68 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.201, allocations: 0 / 0.6957 GB, free: 6.68 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.282e-06/0.201, allocations: 0 / 0.6957 GB, free: 6.68 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 5.52e-06/0.201, allocations: 0 / 0.6957 GB, free: 6.68 MB / 0.5137 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.0004763/0.2015, allocations: 278.2 kB / 0.696 GB, free: 6.379 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2016, allocations: 8.031 kB / 0.696 GB, free: 6.371 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.2016, allocations: 4.891 kB / 0.696 GB, free: 6.367 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2017, allocations: 118.5 kB / 0.6961 GB, free: 6.227 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.2017, allocations: 8.25 kB / 0.6961 GB, free: 6.219 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2017, allocations: 4.375 kB / 0.6961 GB, free: 6.215 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.2019, allocations: 49.98 kB / 0.6962 GB, free: 6.16 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2019, allocations: 0 / 0.6962 GB, free: 6.16 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2019, allocations: 4 kB / 0.6962 GB, free: 6.156 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.2019, allocations: 4 kB / 0.6962 GB, free: 6.152 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.202, allocations: 19.98 kB / 0.6962 GB, free: 6.133 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.2024, allocations: 220 kB / 0.6964 GB, free: 5.875 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.2025, allocations: 34.5 kB / 0.6965 GB, free: 5.832 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.2026, allocations: 16.91 kB / 0.6965 GB, free: 5.812 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/0.2033, allocations: 99.88 kB / 0.6966 GB, free: 5.715 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.2033, allocations: 30.56 kB / 0.6966 GB, free: 5.676 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2033, allocations: 0 / 0.6966 GB, free: 5.676 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=2): time 0.0002858/0.2036, allocations: 61.77 kB / 0.6967 GB, free: 5.609 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.2037, allocations: 59.34 kB / 0.6967 GB, free: 5.539 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2038, allocations: 109.8 kB / 0.6968 GB, free: 5.422 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2038, allocations: 25.7 kB / 0.6968 GB, free: 5.391 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.2038, allocations: 92.06 kB / 0.6969 GB, free: 5.297 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.2039, allocations: 7.953 kB / 0.6969 GB, free: 5.289 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.2039, allocations: 13.7 kB / 0.6969 GB, free: 5.27 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001529/0.2041, allocations: 318.8 kB / 0.6973 GB, free: 4.949 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.2041, allocations: 12.02 kB / 0.6973 GB, free: 4.938 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.2041, allocations: 8 kB / 0.6973 GB, free: 4.93 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.147e-05/0.2042, allocations: 32.78 kB / 0.6973 GB, free: 4.895 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2042, allocations: 0 / 0.6973 GB, free: 4.895 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001321/0.2044, allocations: 53.64 kB / 0.6974 GB, free: 4.836 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2044, allocations: 7.938 kB / 0.6974 GB, free: 4.828 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2044, allocations: 4.078 kB / 0.6974 GB, free: 4.824 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2044, allocations: 4 kB / 0.6974 GB, free: 4.82 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.2045, allocations: 8 kB / 0.6974 GB, free: 4.812 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2045, allocations: 320 / 0.6974 GB, free: 4.812 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.2045, allocations: 3.938 kB / 0.6974 GB, free: 4.809 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.2045, allocations: 0 / 0.6974 GB, free: 4.809 MB / 0.5137 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 9.548e-05/0.2046, allocations: 117.8 kB / 0.6975 GB, free: 4.684 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.2046, allocations: 4 kB / 0.6975 GB, free: 4.68 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.2048, allocations: 61.3 kB / 0.6976 GB, free: 4.613 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2048, allocations: 7.938 kB / 0.6976 GB, free: 4.605 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2048, allocations: 0 / 0.6976 GB, free: 4.605 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2049, allocations: 0 / 0.6976 GB, free: 4.605 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.205, allocations: 132.7 kB / 0.6977 GB, free: 4.434 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.205, allocations: 4 kB / 0.6977 GB, free: 4.43 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.2051, allocations: 11.92 kB / 0.6977 GB, free: 4.418 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2051, allocations: 0 / 0.6977 GB, free: 4.418 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.2051, allocations: 0 / 0.6977 GB, free: 4.418 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2051, allocations: 0 / 0.6977 GB, free: 4.418 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2051, allocations: 0 / 0.6977 GB, free: 4.418 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.2053, allocations: 159.5 kB / 0.6979 GB, free: 4.246 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.2053, allocations: 4 kB / 0.6979 GB, free: 4.242 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.2053, allocations: 4 kB / 0.6979 GB, free: 4.238 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.2054, allocations: 4 kB / 0.6979 GB, free: 4.234 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.2054, allocations: 0 / 0.6979 GB, free: 4.234 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.2054, allocations: 0 / 0.6979 GB, free: 4.234 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 5.898e-05/0.2055, allocations: 99.28 kB / 0.698 GB, free: 4.137 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 6e-08/0.2055, allocations: 0 / 0.698 GB, free: 4.137 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0002582/0.2057, allocations: 15.94 kB / 0.698 GB, free: 4.121 MB / 0.5137 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.0001811/0.2059, allocations: 103.2 kB / 0.6981 GB, free: 4.012 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.0001582/0.2061, allocations: 27.92 kB / 0.6981 GB, free: 3.984 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2061, allocations: 0 / 0.6981 GB, free: 3.984 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 5.131e-05/0.2061, allocations: 16.05 kB / 0.6981 GB, free: 3.969 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.2064, allocations: 12.42 kB / 0.6981 GB, free: 3.957 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.2067, allocations: 126.8 kB / 0.6983 GB, free: 3.805 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.2071, allocations: 0.6807 MB / 0.6989 GB, free: 3.098 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 2.939e-05/0.2071, allocations: 7.922 kB / 0.6989 GB, free: 3.09 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.2071, allocations: 7.438 kB / 0.6989 GB, free: 3.082 MB / 0.5137 GB
Notification: Performance of SimCode: time 3.11e-07/0.2071, allocations: 0 / 0.6989 GB, free: 3.082 MB / 0.5137 GB
Notification: Performance of Templates: time 0.003608/0.2107, allocations: 0.69 MB / 0.6996 GB, free: 2.395 MB / 0.5137 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.766022690571845]
Failed to read output from testmodel.py, exit status != 0:
0.2188774924725294 0.23630946700000002 0.032018362
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa5494d17b0>