Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.001429/0.001429, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001534/0.001534, allocations: 189.1 kB / 22.23 MB, free: 5.105 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.315/1.315, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002523/0.002523, allocations: 288.2 kB / 306.5 MB, free: 8.34 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.13/1.13, allocations: 180.9 MB / 0.53 GB, free: 14.39 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 104.3 kB / 0.7309 GB, free: 38.75 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1482, allocations: 94.19 MB / 0.8229 GB, free: 1.797 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001751/0.1499, allocations: 0.5798 MB / 0.8234 GB, free: 1.219 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001769/0.1517, allocations: 1.28 MB / 0.8247 GB, free: 15.92 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.1517, allocations: 0 / 0.8247 GB, free: 15.92 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.073e-05/0.1517, allocations: 3.938 kB / 0.8247 GB, free: 15.92 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.1517, allocations: 0 / 0.8247 GB, free: 15.92 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.1521, allocations: 67.75 kB / 0.8248 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.1522, allocations: 4 kB / 0.8248 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.1522, allocations: 0 / 0.8248 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.179e-05/0.1522, allocations: 4 kB / 0.8248 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.743e-05/0.1522, allocations: 4 kB / 0.8248 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.1522, allocations: 0 / 0.8248 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.1525, allocations: 95.89 kB / 0.8249 GB, free: 15.75 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.1525, allocations: 4 kB / 0.8249 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.1525, allocations: 0 / 0.8249 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.1526, allocations: 63.73 kB / 0.8249 GB, free: 15.68 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1526, allocations: 0 / 0.8249 GB, free: 15.68 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.082e-06/0.1526, allocations: 0 / 0.8249 GB, free: 15.68 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.238e-06/0.1527, allocations: 0 / 0.8249 GB, free: 15.68 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.000305/0.153, allocations: 250.3 kB / 0.8252 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.153, allocations: 8.031 kB / 0.8252 GB, free: 15.4 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.153, allocations: 4.922 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.74e-05/0.1531, allocations: 108 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1531, allocations: 384 / 0.8253 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-06/0.1531, allocations: 4.375 kB / 0.8253 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.236e-05/0.1532, allocations: 34.02 kB / 0.8253 GB, free: 15.22 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1532, allocations: 0 / 0.8253 GB, free: 15.22 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1532, allocations: 0 / 0.8253 GB, free: 15.22 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1532, allocations: 4 kB / 0.8253 GB, free: 15.22 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.738e-05/0.1532, allocations: 4 kB / 0.8253 GB, free: 15.21 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.1534, allocations: 120.7 kB / 0.8254 GB, free: 15.05 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.1534, allocations: 22.61 kB / 0.8255 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.1534, allocations: 4.859 kB / 0.8255 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.1538, allocations: 40.03 kB / 0.8255 GB, free: 14.98 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1538, allocations: 38.48 kB / 0.8255 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1538, allocations: 0 / 0.8255 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1): time 0.000127/0.1539, allocations: 37.64 kB / 0.8256 GB, free: 14.89 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.154, allocations: 55.39 kB / 0.8256 GB, free: 14.82 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.84e-05/0.154, allocations: 89.86 kB / 0.8257 GB, free: 14.72 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.154, allocations: 25.7 kB / 0.8257 GB, free: 14.69 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.1541, allocations: 80.27 kB / 0.8258 GB, free: 14.61 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1541, allocations: 11.95 kB / 0.8258 GB, free: 14.6 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.1541, allocations: 13.72 kB / 0.8258 GB, free: 14.58 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001273/0.1542, allocations: 310.8 kB / 0.8261 GB, free: 14.27 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/0.1542, allocations: 0 / 0.8261 GB, free: 14.27 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.1543, allocations: 7.938 kB / 0.8261 GB, free: 14.26 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.1543, allocations: 4.859 kB / 0.8261 GB, free: 14.25 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1543, allocations: 3.938 kB / 0.8261 GB, free: 14.25 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 6.263e-05/0.1543, allocations: 49.69 kB / 0.8262 GB, free: 14.19 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1544, allocations: 10.28 kB / 0.8262 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1544, allocations: 0 / 0.8262 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1544, allocations: 0 / 0.8262 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.829e-05/0.1544, allocations: 4 kB / 0.8262 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1544, allocations: 0 / 0.8262 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.084e-05/0.1544, allocations: 0 / 0.8262 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.1544, allocations: 0 / 0.8262 GB, free: 14.18 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 (1):
 * Single equations (assignments): 1
 * 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 6.572e-05/0.1545, allocations: 106.5 kB / 0.8263 GB, free: 14.07 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1545, allocations: 11.97 kB / 0.8263 GB, free: 14.05 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-05/0.1546, allocations: 36.69 kB / 0.8264 GB, free: 14.01 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1546, allocations: 0 / 0.8264 GB, free: 14.01 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1546, allocations: 0 / 0.8264 GB, free: 14.01 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1546, allocations: 0 / 0.8264 GB, free: 14.01 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.245e-05/0.1547, allocations: 128.7 kB / 0.8265 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1547, allocations: 0 / 0.8265 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.398e-05/0.1547, allocations: 0 / 0.8265 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1547, allocations: 3.969 kB / 0.8265 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1547, allocations: 8 kB / 0.8265 GB, free: 13.83 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1547, allocations: 0 / 0.8265 GB, free: 13.83 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1547, allocations: 0 / 0.8265 GB, free: 13.83 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.509e-05/0.1548, allocations: 53.14 kB / 0.8265 GB, free: 13.76 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.1548, allocations: 7.984 kB / 0.8265 GB, free: 13.75 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1548, allocations: 3.938 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.1548, allocations: 4 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.1548, allocations: 4.031 kB / 0.8266 GB, free: 13.74 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1548, allocations: 0 / 0.8266 GB, free: 13.74 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 2.937e-05/0.1549, allocations: 75.28 kB / 0.8266 GB, free: 13.67 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.1549, allocations: 0 / 0.8266 GB, free: 13.67 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.000188/0.1551, allocations: 11.94 kB / 0.8266 GB, free: 13.66 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 (1):
 * Single equations (assignments): 1
 * 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.0001495/0.1552, allocations: 111.2 kB / 0.8267 GB, free: 13.54 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 6.81e-05/0.1553, allocations: 4 kB / 0.8268 GB, free: 13.53 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1553, allocations: 4.062 kB / 0.8268 GB, free: 13.53 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.1553, allocations: 0 / 0.8268 GB, free: 13.53 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.1554, allocations: 11.94 kB / 0.8268 GB, free: 13.52 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001668/0.1556, allocations: 84.52 kB / 0.8268 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1559, allocations: 0.6729 MB / 0.8275 GB, free: 12.71 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 1.775e-05/0.1559, allocations: 4 kB / 0.8275 GB, free: 12.71 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.1559, allocations: 11.38 kB / 0.8275 GB, free: 12.7 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.11e-07/0.1559, allocations: 4.062 kB / 0.8275 GB, free: 12.69 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002192/0.1581, allocations: 316.5 kB / 0.8278 GB, free: 12.38 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.599928648211062]
Failed to read output from testmodel.py, exit status != 0:
0.16457458399236202 0.178451569 0.02298897
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f647e80d7b0>