Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.00151/0.00151, allocations: 112.7 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.001649/0.001649, allocations: 189.4 kB / 22.23 MB, free: 5.098 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.4/1.4, allocations: 225.6 MB / 251 MB, free: 13.23 MB / 206.1 MB
"
[Timeout remaining time 178]
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.002563/0.002563, allocations: 274.8 kB / 306.5 MB, free: 8.398 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.178/1.178, allocations: 180.9 MB / 0.53 GB, free: 14.31 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline")
translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 101.8 kB / 0.7309 GB, free: 38.79 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1512, allocations: 94.2 MB / 0.8228 GB, free: 1.832 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002734/0.154, allocations: 1.433 MB / 0.8242 GB, free: 400 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001354/0.1553, allocations: 0.8048 MB / 0.825 GB, free: 15.58 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.1553, allocations: 4 kB / 0.825 GB, free: 15.57 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 5.678e-05/0.1554, allocations: 7.922 kB / 0.825 GB, free: 15.57 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.1554, allocations: 7.938 kB / 0.825 GB, free: 15.56 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.156, allocations: 163.6 kB / 0.8252 GB, free: 15.4 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1561, allocations: 47.92 kB / 0.8253 GB, free: 15.35 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.868e-05/0.1562, allocations: 15.91 kB / 0.8253 GB, free: 15.34 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.088e-05/0.1562, allocations: 16 kB / 0.8253 GB, free: 15.32 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.1563, allocations: 31.78 kB / 0.8253 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1563, allocations: 4 kB / 0.8253 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.1567, allocations: 219.7 kB / 0.8255 GB, free: 15.07 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.1567, allocations: 11.98 kB / 0.8255 GB, free: 15.06 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.1568, allocations: 19.88 kB / 0.8256 GB, free: 15.04 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.1571, allocations: 195.5 kB / 0.8257 GB, free: 14.85 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1571, allocations: 0 / 0.8257 GB, free: 14.85 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.172e-06/0.1571, allocations: 0 / 0.8257 GB, free: 14.85 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 8.947e-06/0.1571, allocations: 0 / 0.8257 GB, free: 14.85 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0004845/0.1576, allocations: 361.4 kB / 0.8261 GB, free: 14.45 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1576, allocations: 8.031 kB / 0.8261 GB, free: 14.45 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.1576, allocations: 8.891 kB / 0.8261 GB, free: 14.44 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1578, allocations: 114.4 kB / 0.8262 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1578, allocations: 8.375 kB / 0.8262 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1578, allocations: 384 / 0.8262 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.158, allocations: 85.91 kB / 0.8263 GB, free: 14.2 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.158, allocations: 0 / 0.8263 GB, free: 14.2 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.158, allocations: 4 kB / 0.8263 GB, free: 14.2 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.158, allocations: 4 kB / 0.8263 GB, free: 14.2 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1581, allocations: 43.97 kB / 0.8264 GB, free: 14.15 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1585, allocations: 248 kB / 0.8266 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.1586, allocations: 58.48 kB / 0.8266 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.798e-05/0.1587, allocations: 40.92 kB / 0.8267 GB, free: 13.76 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1587, allocations: 4 kB / 0.8267 GB, free: 13.75 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1588, allocations: 38.55 kB / 0.8267 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1588, allocations: 0 / 0.8267 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.0003938/0.1592, allocations: 179.3 kB / 0.8269 GB, free: 13.52 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.1592, allocations: 85.11 kB / 0.827 GB, free: 13.42 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1593, allocations: 129.7 kB / 0.8271 GB, free: 13.28 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1594, allocations: 29.64 kB / 0.8271 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.1594, allocations: 92.17 kB / 0.8272 GB, free: 13.15 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.1594, allocations: 7.938 kB / 0.8272 GB, free: 13.14 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1595, allocations: 21.72 kB / 0.8272 GB, free: 13.12 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001369/0.1596, allocations: 310.8 kB / 0.8275 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1597, allocations: 63.95 kB / 0.8276 GB, free: 12.74 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.912e-05/0.1598, allocations: 55.97 kB / 0.8277 GB, free: 12.69 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.1601, allocations: 201.8 kB / 0.8278 GB, free: 12.47 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1601, allocations: 0 / 0.8278 GB, free: 12.47 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003164/0.1604, allocations: 217 kB / 0.8281 GB, free: 12.24 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.1605, allocations: 67.39 kB / 0.8281 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1605, allocations: 0 / 0.8281 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1605, allocations: 0 / 0.8281 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.1605, allocations: 11.88 kB / 0.8281 GB, free: 12.15 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1605, allocations: 3.984 kB / 0.8281 GB, free: 12.14 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1606, allocations: 7.938 kB / 0.8281 GB, free: 12.14 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1606, allocations: 4 kB / 0.8281 GB, free: 12.13 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: 1 (cubSpl.i)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (3):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.0001245/0.1607, allocations: 155.5 kB / 0.8283 GB, free: 11.96 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1608, allocations: 4.188 kB / 0.8283 GB, free: 11.96 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.1608, allocations: 11.98 kB / 0.8283 GB, free: 11.94 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1608, allocations: 0 / 0.8283 GB, free: 11.94 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1608, allocations: 0 / 0.8283 GB, free: 11.94 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1608, allocations: 0 / 0.8283 GB, free: 11.94 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.161, allocations: 144.7 kB / 0.8284 GB, free: 11.76 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.161, allocations: 4 kB / 0.8284 GB, free: 11.75 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.161, allocations: 4 kB / 0.8285 GB, free: 11.75 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.161, allocations: 0 / 0.8285 GB, free: 11.75 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.161, allocations: 11.98 kB / 0.8285 GB, free: 11.74 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.161, allocations: 0 / 0.8285 GB, free: 11.74 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.161, allocations: 0 / 0.8285 GB, free: 11.74 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1613, allocations: 253 kB / 0.8287 GB, free: 11.47 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.1613, allocations: 4 kB / 0.8287 GB, free: 11.46 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1613, allocations: 0 / 0.8287 GB, free: 11.46 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.1614, allocations: 7.938 kB / 0.8287 GB, free: 11.46 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.23e-05/0.1615, allocations: 16.02 kB / 0.8287 GB, free: 11.44 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1615, allocations: 0 / 0.8287 GB, free: 11.44 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 7.41e-05/0.1616, allocations: 95.27 kB / 0.8288 GB, free: 11.35 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.1616, allocations: 0 / 0.8288 GB, free: 11.35 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003089/0.1619, allocations: 63.86 kB / 0.8289 GB, free: 11.29 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: 1 (cubSpl.i)
 * Number of discrete states: 1 (cubSpl.i)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0002526/0.1621, allocations: 143.8 kB / 0.829 GB, free: 11.14 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003572/0.1625, allocations: 234.7 kB / 0.8292 GB, free: 10.88 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1625, allocations: 4 kB / 0.8292 GB, free: 10.88 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.1626, allocations: 107.3 kB / 0.8294 GB, free: 10.76 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1628, allocations: 5.812 kB / 0.8294 GB, free: 10.76 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.1632, allocations: 173.6 kB / 0.8295 GB, free: 10.56 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1635, allocations: 0.6885 MB / 0.8302 GB, free: 9.848 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 1.42e-05/0.1635, allocations: 0 / 0.8302 GB, free: 9.848 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.1635, allocations: 7.438 kB / 0.8302 GB, free: 9.84 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.1e-07/0.1636, allocations: 4.062 kB / 0.8302 GB, free: 9.836 MB / 0.5762 GB
Notification: Performance of Templates: time 0.004554/0.1681, allocations: 1.791 MB / 0.832 GB, free: 8.086 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.761426443234086]
Failed to read output from testmodel.py, exit status != 0:
0.17535307724028826 0.19074052400000002 0.030646219000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f668d9a17b0>