Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.001286/0.001286, allocations: 114.8 kB / 19.69 MB, free: 2.188 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.001851/0.001851, allocations: 186.1 kB / 22.98 MB, free: 5.008 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.486/1.486, allocations: 225.6 MB / 251.8 MB, free: 13.04 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 1.003/1.003, allocations: 149.6 MB / 456.6 MB, free: 1.18 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks")
translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 70.91 kB / 0.6329 GB, free: 8.918 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2147, allocations: 87.87 MB / 0.7187 GB, free: 0.9727 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003347/0.218, allocations: 1.787 MB / 0.7204 GB, free: 15.18 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.00127/0.2193, allocations: 0.6739 MB / 0.7211 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.2194, allocations: 0 / 0.7211 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.2194, allocations: 11.81 kB / 0.7211 GB, free: 14.49 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.2195, allocations: 23.78 kB / 0.7211 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.22, allocations: 170.4 kB / 0.7213 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.000182/0.2202, allocations: 119.7 kB / 0.7214 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2203, allocations: 49.02 kB / 0.7214 GB, free: 14.14 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.2205, allocations: 59.83 kB / 0.7215 GB, free: 14.08 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.2206, allocations: 51.78 kB / 0.7215 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.2206, allocations: 8 kB / 0.7215 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2207, allocations: 51.91 kB / 0.7216 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.2208, allocations: 39.83 kB / 0.7216 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.2208, allocations: 55.7 kB / 0.7217 GB, free: 13.88 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.2211, allocations: 143.4 kB / 0.7218 GB, free: 13.73 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.2211, allocations: 8 kB / 0.7218 GB, free: 13.73 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.413e-06/0.2211, allocations: 0 / 0.7218 GB, free: 13.73 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.819e-06/0.2211, allocations: 0 / 0.7218 GB, free: 13.73 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: 18
 * Number of variables: 18
Notification: Performance of Generate backend data structure: time 0.0006206/0.2217, allocations: 365.7 kB / 0.7222 GB, free: 13.34 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2217, allocations: 8.625 kB / 0.7222 GB, free: 13.33 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.2226, allocations: 112.7 kB / 0.7223 GB, free: 13.22 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2228, allocations: 126.4 kB / 0.7224 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.2229, allocations: 59.97 kB / 0.7225 GB, free: 13 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.2229, allocations: 12.38 kB / 0.7225 GB, free: 12.99 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.2234, allocations: 165.7 kB / 0.7226 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2234, allocations: 0 / 0.7226 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.2234, allocations: 8 kB / 0.7227 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2234, allocations: 0 / 0.7227 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.224, allocations: 159.8 kB / 0.7228 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.2252, allocations: 453.1 kB / 0.7232 GB, free: 12.17 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/0.2262, allocations: 214.3 kB / 0.7234 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.2265, allocations: 76.91 kB / 0.7235 GB, free: 11.88 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2265, allocations: 4 kB / 0.7235 GB, free: 11.87 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2266, allocations: 30.56 kB / 0.7235 GB, free: 11.83 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.2266, allocations: 4 kB / 0.7235 GB, free: 11.83 MB / 0.545 GB
Notification: Performance of matching and sorting (n=6): time 0.00108/0.2277, allocations: 261.3 kB / 0.7238 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.2277, allocations: 55.41 kB / 0.7239 GB, free: 11.5 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.2278, allocations: 139.8 kB / 0.724 GB, free: 11.36 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2279, allocations: 25.7 kB / 0.724 GB, free: 11.32 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.228, allocations: 112.2 kB / 0.7241 GB, free: 11.21 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.228, allocations: 27.72 kB / 0.7241 GB, free: 11.18 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.228, allocations: 29.64 kB / 0.7242 GB, free: 11.15 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001764/0.2282, allocations: 318.8 kB / 0.7245 GB, free: 10.83 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.2285, allocations: 79.91 kB / 0.7246 GB, free: 10.75 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.2288, allocations: 94.48 kB / 0.7246 GB, free: 10.65 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.2294, allocations: 162.7 kB / 0.7248 GB, free: 10.48 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2294, allocations: 0 / 0.7248 GB, free: 10.48 MB / 0.545 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.000653/0.2301, allocations: 205.4 kB / 0.725 GB, free: 10.27 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2301, allocations: 7.938 kB / 0.725 GB, free: 10.27 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2301, allocations: 0 / 0.725 GB, free: 10.27 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.2301, allocations: 11.92 kB / 0.725 GB, free: 10.25 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.2304, allocations: 31.95 kB / 0.725 GB, free: 10.22 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2304, allocations: 0 / 0.725 GB, free: 10.22 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2306, allocations: 35.92 kB / 0.7251 GB, free: 10.19 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.2306, allocations: 4 kB / 0.7251 GB, free: 10.18 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * 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 (8):
 * Single equations (assignments): 8
 * 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.0001079/0.2307, allocations: 117.8 kB / 0.7252 GB, free: 10.06 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.2307, allocations: 7.953 kB / 0.7252 GB, free: 10.05 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007189/0.2315, allocations: 214.1 kB / 0.7254 GB, free: 9.832 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2315, allocations: 0 / 0.7254 GB, free: 9.832 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2315, allocations: 0 / 0.7254 GB, free: 9.832 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2315, allocations: 0 / 0.7254 GB, free: 9.832 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.2318, allocations: 205.2 kB / 0.7256 GB, free: 9.59 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2318, allocations: 0 / 0.7256 GB, free: 9.59 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.2321, allocations: 39.95 kB / 0.7256 GB, free: 9.551 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2321, allocations: 0 / 0.7256 GB, free: 9.551 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.2321, allocations: 11.92 kB / 0.7256 GB, free: 9.539 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2321, allocations: 0 / 0.7256 GB, free: 9.539 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2321, allocations: 0 / 0.7256 GB, free: 9.539 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.2328, allocations: 287.5 kB / 0.7259 GB, free: 9.242 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.2328, allocations: 15.91 kB / 0.7259 GB, free: 9.227 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.2328, allocations: 3.938 kB / 0.7259 GB, free: 9.223 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.2331, allocations: 31.95 kB / 0.726 GB, free: 9.191 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.2332, allocations: 7.984 kB / 0.726 GB, free: 9.184 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.2332, allocations: 3.984 kB / 0.726 GB, free: 9.18 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 8.254e-05/0.2333, allocations: 114.1 kB / 0.7261 GB, free: 9.07 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.2333, allocations: 0 / 0.7261 GB, free: 9.07 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002678/0.2335, allocations: 24 kB / 0.7261 GB, free: 9.047 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 (6):
 * Single equations (assignments): 6
 * 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.0001278/0.2336, allocations: 99.23 kB / 0.7262 GB, free: 8.941 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0006859/0.2343, allocations: 159.8 kB / 0.7264 GB, free: 8.785 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.2343, allocations: 8 kB / 0.7264 GB, free: 8.777 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.2346, allocations: 71.92 kB / 0.7264 GB, free: 8.707 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.235, allocations: 10.19 kB / 0.7264 GB, free: 8.699 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.2357, allocations: 267.5 kB / 0.7267 GB, free: 8.406 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.2361, allocations: 0.7002 MB / 0.7274 GB, free: 7.68 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 9.6e-05/0.2362, allocations: 12 kB / 0.7274 GB, free: 7.668 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.2362, allocations: 19.42 kB / 0.7274 GB, free: 7.648 MB / 0.545 GB
Notification: Performance of SimCode: time 3.2e-07/0.2362, allocations: 0 / 0.7274 GB, free: 7.648 MB / 0.545 GB
Notification: Performance of Templates: time 0.0045/0.2407, allocations: 1.513 MB / 0.7289 GB, free: 6.145 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.025835431180894]
Failed to read output from testmodel.py, exit status != 0:
0.2495488403365016 0.266272094 0.04179774
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc71c8e17b0>