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.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.0013/0.0013, 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.001491/0.001491, 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.592/1.592, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.318/1.318, allocations: 177.9 MB / 484.2 MB, free: 5.375 MB / 382.1 MB
"
[Timeout remaining time 178]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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 0.002041/0.002041, allocations: 68.67 kB / 0.674 GB, free: 10.78 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6989/0.7009, allocations: 95.16 MB / 0.7669 GB, free: 8.477 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002935/0.7039, allocations: 1.48 MB / 0.7684 GB, free: 7.473 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0004068/0.7043, allocations: 142.8 kB / 0.7685 GB, free: 7.379 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.7043, allocations: 1.188 kB / 0.7685 GB, free: 7.379 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 4.394e-05/0.7044, allocations: 4.688 kB / 0.7685 GB, free: 7.375 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 7.372e-05/0.7044, allocations: 13.53 kB / 0.7685 GB, free: 7.363 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.7047, allocations: 28.22 kB / 0.7685 GB, free: 7.352 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001072/0.7048, allocations: 42.66 kB / 0.7686 GB, free: 7.332 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.7049, allocations: 16.56 kB / 0.7686 GB, free: 7.328 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.705, allocations: 25.27 kB / 0.7686 GB, free: 7.312 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.705, allocations: 17.61 kB / 0.7686 GB, free: 7.305 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.705, allocations: 3.688 kB / 0.7686 GB, free: 7.305 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.7052, allocations: 37.08 kB / 0.7687 GB, free: 7.293 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.7052, allocations: 10.17 kB / 0.7687 GB, free: 7.285 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.7052, allocations: 18.31 kB / 0.7687 GB, free: 7.273 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.7054, allocations: 68.42 kB / 0.7688 GB, free: 7.246 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7054, allocations: 1.125 kB / 0.7688 GB, free: 7.246 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.774e-06/0.7054, allocations: 0 / 0.7688 GB, free: 7.246 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5.21e-06/0.7054, allocations: 3.938 kB / 0.7688 GB, free: 7.242 MB / 0.5762 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.000451/0.7059, allocations: 282.2 kB / 0.7691 GB, free: 6.965 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.7059, allocations: 8.688 kB / 0.7691 GB, free: 6.965 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.7071, allocations: 214.3 kB / 0.7693 GB, free: 6.957 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.906e-05/0.7072, allocations: 120.6 kB / 0.7694 GB, free: 6.82 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.7072, allocations: 5.781 kB / 0.7694 GB, free: 6.816 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.7072, allocations: 3.156 kB / 0.7694 GB, free: 6.816 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.7078, allocations: 195.2 kB / 0.7696 GB, free: 6.758 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.7078, allocations: 4.188 kB / 0.7696 GB, free: 6.754 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.7078, allocations: 3.938 kB / 0.7696 GB, free: 6.75 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7078, allocations: 1.125 kB / 0.7696 GB, free: 6.75 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009155/0.7088, allocations: 281.6 kB / 0.7699 GB, free: 6.711 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009527/0.7097, allocations: 411.7 kB / 0.7702 GB, free: 6.422 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.7108, allocations: 284.3 kB / 0.7705 GB, free: 6.359 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.7112, allocations: 103.7 kB / 0.7706 GB, free: 6.332 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.7112, allocations: 11.75 kB / 0.7706 GB, free: 6.324 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.7112, allocations: 31.91 kB / 0.7707 GB, free: 6.285 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.7112, allocations: 0 / 0.7707 GB, free: 6.285 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.001208/0.7124, allocations: 309.2 kB / 0.7709 GB, free: 6.207 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.7125, allocations: 55.06 kB / 0.771 GB, free: 6.145 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.7125, allocations: 115.9 kB / 0.7711 GB, free: 6.039 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.7126, allocations: 25.7 kB / 0.7711 GB, free: 6.008 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.7126, allocations: 90.06 kB / 0.7712 GB, free: 5.922 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.7126, allocations: 13.14 kB / 0.7712 GB, free: 5.91 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.7127, allocations: 16.48 kB / 0.7713 GB, free: 5.895 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 4.938e-05/0.7127, allocations: 325 kB / 0.7716 GB, free: 5.57 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.7131, allocations: 96.41 kB / 0.7717 GB, free: 5.555 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.7134, allocations: 97.09 kB / 0.7717 GB, free: 5.539 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.7141, allocations: 168.1 kB / 0.7719 GB, free: 5.508 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7141, allocations: 0 / 0.7719 GB, free: 5.508 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007702/0.7149, allocations: 220.1 kB / 0.7721 GB, free: 5.441 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.7149, allocations: 5.25 kB / 0.7721 GB, free: 5.441 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7149, allocations: 0 / 0.7721 GB, free: 5.441 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.7149, allocations: 1.578 kB / 0.7721 GB, free: 5.441 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.7152, allocations: 33.45 kB / 0.7722 GB, free: 5.441 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7152, allocations: 0 / 0.7722 GB, free: 5.441 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.7154, allocations: 35.69 kB / 0.7722 GB, free: 5.434 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.7154, allocations: 1.906 kB / 0.7722 GB, free: 5.434 MB / 0.5762 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 7.489e-05/0.7155, allocations: 121 kB / 0.7723 GB, free: 5.312 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.7155, allocations: 6.156 kB / 0.7723 GB, free: 5.309 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.7156, allocations: 11.61 kB / 0.7723 GB, free: 5.293 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.7156, allocations: 5.375 kB / 0.7723 GB, free: 5.289 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7156, allocations: 0 / 0.7723 GB, free: 5.289 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7156, allocations: 4.562 kB / 0.7723 GB, free: 5.285 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.7158, allocations: 180.4 kB / 0.7725 GB, free: 5.113 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7158, allocations: 1.625 kB / 0.7725 GB, free: 5.113 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.716, allocations: 33.02 kB / 0.7725 GB, free: 5.113 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.716, allocations: 3.938 kB / 0.7725 GB, free: 5.109 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.716, allocations: 5.516 kB / 0.7725 GB, free: 5.105 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.716, allocations: 1.672 kB / 0.7725 GB, free: 5.105 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.716, allocations: 0 / 0.7725 GB, free: 5.105 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009012/0.7169, allocations: 320 kB / 0.7729 GB, free: 4.934 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.717, allocations: 2.234 kB / 0.7729 GB, free: 4.934 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.717, allocations: 1.094 kB / 0.7729 GB, free: 4.934 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.7172, allocations: 39.2 kB / 0.7729 GB, free: 4.922 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.7173, allocations: 2.641 kB / 0.7729 GB, free: 4.922 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.7173, allocations: 1.75 kB / 0.7729 GB, free: 4.922 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.903e-05/0.7173, allocations: 93.73 kB / 0.773 GB, free: 4.844 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.7173, allocations: 0 / 0.773 GB, free: 4.844 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002442/0.7176, allocations: 12 kB / 0.773 GB, free: 4.844 MB / 0.5762 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.0001172/0.7177, allocations: 98.97 kB / 0.7731 GB, free: 4.754 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0008608/0.7186, allocations: 200.8 kB / 0.7733 GB, free: 4.719 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7186, allocations: 1 kB / 0.7733 GB, free: 4.719 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.719, allocations: 103.2 kB / 0.7734 GB, free: 4.699 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.7192, allocations: 9.891 kB / 0.7734 GB, free: 4.695 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.7203, allocations: 261.3 kB / 0.7736 GB, free: 4.559 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.7204, allocations: 0.69 MB / 0.7743 GB, free: 3.859 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 8.685e-05/0.7205, allocations: 20.25 kB / 0.7743 GB, free: 3.855 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.7206, allocations: 11.56 kB / 0.7743 GB, free: 3.848 MB / 0.5762 GB
Notification: Performance of SimCode: time 8.62e-07/0.7206, allocations: 0 / 0.7743 GB, free: 3.848 MB / 0.5762 GB
Notification: Performance of Templates: time 0.005716/0.7263, allocations: 0.9514 MB / 0.7753 GB, free: 3.758 MB / 0.5762 GB
"
[Timeout remaining time 659]
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.946312312036753]
Failed to read output from testmodel.py, exit status != 0:
0.7363813696429133 0.752176701 0.04291763099999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb8727f97b0>