Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.001232/0.001232, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.001299/0.001299, allocations: 192.3 kB / 22.98 MB, free: 5.059 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.347/1.347, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9014/0.9014, allocations: 149.6 MB / 456.6 MB, free: 1.188 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside")
translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 68.64 kB / 0.6328 GB, free: 8.984 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1893, allocations: 87.88 MB / 0.7187 GB, free: 1.02 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003696/0.193, allocations: 1.442 MB / 0.7201 GB, free: 15.57 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.001097/0.1941, allocations: 486.8 kB / 0.7205 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.1942, allocations: 0 / 0.7205 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.1942, allocations: 3.938 kB / 0.7205 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.1943, allocations: 0 / 0.7205 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.1945, allocations: 27.91 kB / 0.7206 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.1946, allocations: 23.92 kB / 0.7206 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.1947, allocations: 4 kB / 0.7206 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.1948, allocations: 15.92 kB / 0.7206 GB, free: 15.02 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.1948, allocations: 19.92 kB / 0.7206 GB, free: 15 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1948, allocations: 3.938 kB / 0.7206 GB, free: 15 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.1949, allocations: 23.98 kB / 0.7207 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.1949, allocations: 0 / 0.7207 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.1949, allocations: 19.86 kB / 0.7207 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.00013/0.1951, allocations: 31.89 kB / 0.7207 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1951, allocations: 0 / 0.7207 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.223e-06/0.1951, allocations: 0 / 0.7207 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.54e-06/0.1951, allocations: 0 / 0.7207 GB, free: 14.92 MB / 0.545 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.000527/0.1956, allocations: 270.3 kB / 0.721 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1957, allocations: 8.625 kB / 0.721 GB, free: 14.62 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.1957, allocations: 4.938 kB / 0.721 GB, free: 14.62 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1959, allocations: 110.4 kB / 0.7211 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1959, allocations: 4.375 kB / 0.7211 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1959, allocations: 4.312 kB / 0.7211 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.1961, allocations: 53.98 kB / 0.7211 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1961, allocations: 0 / 0.7211 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1961, allocations: 4 kB / 0.7211 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1962, allocations: 7.984 kB / 0.7211 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.1964, allocations: 35.95 kB / 0.7212 GB, free: 14.37 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.1968, allocations: 216 kB / 0.7214 GB, free: 14.12 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1969, allocations: 42.48 kB / 0.7214 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.197, allocations: 28.91 kB / 0.7215 GB, free: 14.04 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.1972, allocations: 3.984 kB / 0.7215 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1972, allocations: 38.56 kB / 0.7215 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.1972, allocations: 0 / 0.7215 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of matching and sorting (n=2): time 0.000422/0.1976, allocations: 81.64 kB / 0.7216 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.1977, allocations: 55.53 kB / 0.7216 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1978, allocations: 105.8 kB / 0.7217 GB, free: 13.72 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1978, allocations: 25.7 kB / 0.7218 GB, free: 13.69 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.1979, allocations: 84.14 kB / 0.7218 GB, free: 13.6 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.1979, allocations: 3.953 kB / 0.7218 GB, free: 13.6 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.1979, allocations: 17.72 kB / 0.7219 GB, free: 13.57 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001558/0.1981, allocations: 314.8 kB / 0.7222 GB, free: 13.26 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.1982, allocations: 15.98 kB / 0.7222 GB, free: 13.24 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.1982, allocations: 19.98 kB / 0.7222 GB, free: 13.22 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1984, allocations: 44.69 kB / 0.7222 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1984, allocations: 0 / 0.7222 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001778/0.1986, allocations: 65.67 kB / 0.7223 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1986, allocations: 13.34 kB / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1986, allocations: 0 / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1986, allocations: 3.938 kB / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.102e-05/0.1987, allocations: 7.984 kB / 0.7223 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1987, allocations: 0 / 0.7223 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.1987, allocations: 11.94 kB / 0.7223 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.1987, allocations: 4 kB / 0.7223 GB, free: 13.07 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 (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 7.601e-05/0.1988, allocations: 113.7 kB / 0.7224 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1988, allocations: 4 kB / 0.7224 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.199, allocations: 72.97 kB / 0.7225 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.199, allocations: 0 / 0.7225 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1991, allocations: 0 / 0.7225 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1991, allocations: 3.984 kB / 0.7225 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1992, allocations: 132.7 kB / 0.7226 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1992, allocations: 0 / 0.7226 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.1993, allocations: 11.92 kB / 0.7227 GB, free: 12.68 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1993, allocations: 4.031 kB / 0.7227 GB, free: 12.67 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1993, allocations: 4 kB / 0.7227 GB, free: 12.67 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1993, allocations: 0 / 0.7227 GB, free: 12.67 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1993, allocations: 256 / 0.7227 GB, free: 12.67 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.1995, allocations: 163.5 kB / 0.7228 GB, free: 12.49 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.1995, allocations: 3.953 kB / 0.7228 GB, free: 12.49 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1995, allocations: 8.031 kB / 0.7228 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.1996, allocations: 7.984 kB / 0.7228 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1996, allocations: 4 kB / 0.7228 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1996, allocations: 0 / 0.7228 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 4.502e-05/0.1997, allocations: 87.27 kB / 0.7229 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of sort global known variables: time 6e-08/0.1997, allocations: 0 / 0.7229 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002094/0.1999, allocations: 7.938 kB / 0.7229 GB, free: 12.38 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 (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.0001381/0.2, allocations: 95.25 kB / 0.723 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002059/0.2002, allocations: 43.89 kB / 0.7231 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2002, allocations: 4 kB / 0.7231 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.2003, allocations: 19.92 kB / 0.7231 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.2006, allocations: 7.938 kB / 0.7231 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.2009, allocations: 101.8 kB / 0.7232 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.2012, allocations: 0.6846 MB / 0.7239 GB, free: 11.36 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 2.311e-05/0.2012, allocations: 0 / 0.7239 GB, free: 11.36 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.2012, allocations: 7.438 kB / 0.7239 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of SimCode: time 2.9e-07/0.2012, allocations: 0 / 0.7239 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of Templates: time 0.003092/0.2043, allocations: 0.5787 MB / 0.7244 GB, free: 10.78 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.187874405644834]
Failed to read output from testmodel.py, exit status != 0:
0.21232366655021906 0.22581113899999994 0.027765777000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3f5a23d7b0>