Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.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.001722/0.001722, allocations: 108.8 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.002046/0.002046, allocations: 192 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.531/1.531, allocations: 225.6 MB / 251 MB, free: 13.02 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.8742/0.8742, allocations: 134 MB / 440.3 MB, free: 200 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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin")
translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 71.09 kB / 0.6107 GB, free: 13.67 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2136, allocations: 84.73 MB / 0.6935 GB, free: 9.004 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003935/0.2175, allocations: 1.474 MB / 0.6949 GB, free: 7.516 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.0006859/0.2182, allocations: 136.4 kB / 0.695 GB, free: 7.379 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.2182, allocations: 0 / 0.695 GB, free: 7.379 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 8.064e-05/0.2183, allocations: 7.938 kB / 0.6951 GB, free: 7.371 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.2184, allocations: 3.938 kB / 0.6951 GB, free: 7.367 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.2188, allocations: 35.89 kB / 0.6951 GB, free: 7.332 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0001903/0.219, allocations: 43.84 kB / 0.6951 GB, free: 7.289 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.2192, allocations: 15.98 kB / 0.6952 GB, free: 7.273 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.66e-05/0.2193, allocations: 11.94 kB / 0.6952 GB, free: 7.262 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.2194, allocations: 27.92 kB / 0.6952 GB, free: 7.234 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.2194, allocations: 4 kB / 0.6952 GB, free: 7.23 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.2195, allocations: 31.97 kB / 0.6952 GB, free: 7.199 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.2196, allocations: 11.98 kB / 0.6952 GB, free: 7.188 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.2196, allocations: 19.86 kB / 0.6953 GB, free: 7.168 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.2199, allocations: 67.69 kB / 0.6953 GB, free: 7.102 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2199, allocations: 0 / 0.6953 GB, free: 7.102 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.813e-06/0.2199, allocations: 0 / 0.6953 GB, free: 7.102 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 7.835e-06/0.2199, allocations: 0 / 0.6953 GB, free: 7.102 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0006661/0.2205, allocations: 294.1 kB / 0.6956 GB, free: 6.781 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.2206, allocations: 12.03 kB / 0.6956 GB, free: 6.77 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.2219, allocations: 208.5 kB / 0.6958 GB, free: 6.566 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.2221, allocations: 118.4 kB / 0.6959 GB, free: 6.426 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.2221, allocations: 384 / 0.6959 GB, free: 6.426 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.2221, allocations: 12.38 kB / 0.6959 GB, free: 6.414 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.2228, allocations: 186 kB / 0.6961 GB, free: 6.227 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2229, allocations: 192 / 0.6961 GB, free: 6.227 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.2229, allocations: 7.938 kB / 0.6961 GB, free: 6.219 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.2229, allocations: 7.984 kB / 0.6961 GB, free: 6.211 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2239, allocations: 283.5 kB / 0.6964 GB, free: 5.934 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.2251, allocations: 412.2 kB / 0.6968 GB, free: 5.488 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.2263, allocations: 282.2 kB / 0.6971 GB, free: 5.203 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.2267, allocations: 108.7 kB / 0.6972 GB, free: 5.094 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.2267, allocations: 3.984 kB / 0.6972 GB, free: 5.09 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.2267, allocations: 34.56 kB / 0.6972 GB, free: 5.047 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.2267, allocations: 0 / 0.6972 GB, free: 5.047 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=3): time 0.001411/0.2282, allocations: 313.2 kB / 0.6975 GB, free: 4.734 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.2282, allocations: 51.41 kB / 0.6975 GB, free: 4.672 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2283, allocations: 117.8 kB / 0.6977 GB, free: 4.547 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.2283, allocations: 25.7 kB / 0.6977 GB, free: 4.516 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.2284, allocations: 104.1 kB / 0.6978 GB, free: 4.41 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.2284, allocations: 7.891 kB / 0.6978 GB, free: 4.402 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.2285, allocations: 17.72 kB / 0.6978 GB, free: 4.379 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001707/0.2287, allocations: 318.8 kB / 0.6981 GB, free: 4.059 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.2291, allocations: 95.88 kB / 0.6982 GB, free: 3.965 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.2294, allocations: 95.88 kB / 0.6983 GB, free: 3.871 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007268/0.2302, allocations: 172.6 kB / 0.6985 GB, free: 3.699 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2302, allocations: 4 kB / 0.6985 GB, free: 3.695 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008288/0.231, allocations: 217.4 kB / 0.6987 GB, free: 3.477 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.231, allocations: 7.984 kB / 0.6987 GB, free: 3.469 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.231, allocations: 3.984 kB / 0.6987 GB, free: 3.465 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.2311, allocations: 0 / 0.6987 GB, free: 3.465 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.2313, allocations: 39.89 kB / 0.6987 GB, free: 3.426 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2314, allocations: 0 / 0.6987 GB, free: 3.426 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.2316, allocations: 31.89 kB / 0.6988 GB, free: 3.395 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.2316, allocations: 3.984 kB / 0.6988 GB, free: 3.391 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 (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.0001209/0.2317, allocations: 117.8 kB / 0.6989 GB, free: 3.266 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.2317, allocations: 7.953 kB / 0.6989 GB, free: 3.258 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.2318, allocations: 8 kB / 0.6989 GB, free: 3.246 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2318, allocations: 7.984 kB / 0.6989 GB, free: 3.238 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2318, allocations: 0 / 0.6989 GB, free: 3.238 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2318, allocations: 0 / 0.6989 GB, free: 3.238 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.2321, allocations: 180.6 kB / 0.6991 GB, free: 3.02 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2321, allocations: 0 / 0.6991 GB, free: 3.02 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.2323, allocations: 35.95 kB / 0.6991 GB, free: 2.984 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2323, allocations: 0 / 0.6991 GB, free: 2.984 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2323, allocations: 4 kB / 0.6991 GB, free: 2.98 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2323, allocations: 3.984 kB / 0.6991 GB, free: 2.977 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2323, allocations: 384 / 0.6991 GB, free: 2.977 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008939/0.2332, allocations: 319.5 kB / 0.6994 GB, free: 2.648 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.2332, allocations: 7.953 kB / 0.6994 GB, free: 2.641 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.2333, allocations: 0 / 0.6994 GB, free: 2.641 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.2335, allocations: 27.89 kB / 0.6994 GB, free: 2.613 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.2336, allocations: 7.984 kB / 0.6994 GB, free: 2.605 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2336, allocations: 7.938 kB / 0.6995 GB, free: 2.598 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 7.767e-05/0.2336, allocations: 95.27 kB / 0.6995 GB, free: 2.504 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 8e-08/0.2336, allocations: 0 / 0.6995 GB, free: 2.504 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0002423/0.2339, allocations: 16 kB / 0.6996 GB, free: 2.488 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 (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.0001385/0.234, allocations: 99.19 kB / 0.6997 GB, free: 2.383 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.0008595/0.2349, allocations: 191.7 kB / 0.6998 GB, free: 2.195 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2349, allocations: 4 kB / 0.6998 GB, free: 2.191 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.2353, allocations: 103.8 kB / 0.6999 GB, free: 2.09 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2356, allocations: 0 / 0.6999 GB, free: 2.09 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2366, allocations: 261.3 kB / 0.7002 GB, free: 1.809 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.237, allocations: 0.6885 MB / 0.7009 GB, free: 1.094 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 8.39e-05/0.2371, allocations: 19.98 kB / 0.7009 GB, free: 1.074 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.2371, allocations: 15.42 kB / 0.7009 GB, free: 1.059 MB / 0.5137 GB
Notification: Performance of SimCode: time 2.8e-07/0.2371, allocations: 0 / 0.7009 GB, free: 1.059 MB / 0.5137 GB
Notification: Performance of Templates: time 0.003905/0.241, allocations: 0.9486 MB / 0.7018 GB, free: 124 kB / 0.5137 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.817758998833597]
Failed to read output from testmodel.py, exit status != 0:
0.24935114197432995 0.26576163599999997 0.042452308
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe8358f97b0>