Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001298/0.001298, 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.001448/0.001448, allocations: 190.3 kB / 22.22 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.395/1.395, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8468/0.8468, allocations: 134 MB / 440.3 MB, free: 240 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline")
translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 64.19 kB / 0.6107 GB, free: 13.7 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1559, allocations: 84.73 MB / 0.6935 GB, free: 9.039 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002798/0.1587, allocations: 1.443 MB / 0.6949 GB, free: 7.582 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.001377/0.1601, allocations: 0.7994 MB / 0.6957 GB, free: 6.777 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.1602, allocations: 4 kB / 0.6957 GB, free: 6.773 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 6.353e-05/0.1602, allocations: 7.938 kB / 0.6957 GB, free: 6.766 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.1603, allocations: 0 / 0.6957 GB, free: 6.766 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.1609, allocations: 175.5 kB / 0.6959 GB, free: 6.594 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1611, allocations: 47.95 kB / 0.6959 GB, free: 6.547 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.1611, allocations: 4 kB / 0.6959 GB, free: 6.543 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.1612, allocations: 15.92 kB / 0.6959 GB, free: 6.527 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.1612, allocations: 23.98 kB / 0.6959 GB, free: 6.504 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1612, allocations: 4 kB / 0.6959 GB, free: 6.5 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.1617, allocations: 227.7 kB / 0.6962 GB, free: 6.277 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.1618, allocations: 11.88 kB / 0.6962 GB, free: 6.266 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.1618, allocations: 23.86 kB / 0.6962 GB, free: 6.242 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.1621, allocations: 187.5 kB / 0.6964 GB, free: 6.059 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1621, allocations: 0 / 0.6964 GB, free: 6.059 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.082e-06/0.1621, allocations: 0 / 0.6964 GB, free: 6.059 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 5.15e-06/0.1621, allocations: 4 kB / 0.6964 GB, free: 6.055 MB / 0.5137 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.0005021/0.1626, allocations: 349.4 kB / 0.6967 GB, free: 5.672 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1627, allocations: 16.03 kB / 0.6967 GB, free: 5.656 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.1627, allocations: 8.875 kB / 0.6967 GB, free: 5.648 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1628, allocations: 118.4 kB / 0.6968 GB, free: 5.508 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1628, allocations: 4.375 kB / 0.6969 GB, free: 5.504 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1628, allocations: 3.938 kB / 0.6969 GB, free: 5.5 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.163, allocations: 81.59 kB / 0.6969 GB, free: 5.414 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.163, allocations: 0 / 0.6969 GB, free: 5.414 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1631, allocations: 0 / 0.6969 GB, free: 5.414 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1631, allocations: 0 / 0.6969 GB, free: 5.414 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1632, allocations: 47.97 kB / 0.697 GB, free: 5.367 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.1636, allocations: 259.9 kB / 0.6972 GB, free: 5.07 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1637, allocations: 58.55 kB / 0.6973 GB, free: 5.004 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1638, allocations: 52.84 kB / 0.6973 GB, free: 4.949 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1638, allocations: 0 / 0.6973 GB, free: 4.949 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1639, allocations: 34.56 kB / 0.6974 GB, free: 4.906 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.1639, allocations: 0 / 0.6974 GB, free: 4.906 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=3): time 0.0004091/0.1643, allocations: 179.3 kB / 0.6975 GB, free: 4.719 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.1643, allocations: 85.09 kB / 0.6976 GB, free: 4.617 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1644, allocations: 120.8 kB / 0.6977 GB, free: 4.492 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1645, allocations: 29.7 kB / 0.6978 GB, free: 4.457 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.1645, allocations: 92.08 kB / 0.6979 GB, free: 4.363 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.1645, allocations: 11.92 kB / 0.6979 GB, free: 4.352 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.1646, allocations: 21.72 kB / 0.6979 GB, free: 4.324 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001432/0.1647, allocations: 326.8 kB / 0.6982 GB, free: 3.996 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1648, allocations: 59.91 kB / 0.6983 GB, free: 3.938 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1649, allocations: 55.97 kB / 0.6983 GB, free: 3.883 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.1652, allocations: 193.9 kB / 0.6985 GB, free: 3.672 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1652, allocations: 0 / 0.6985 GB, free: 3.672 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003134/0.1655, allocations: 217 kB / 0.6987 GB, free: 3.441 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.1656, allocations: 63.41 kB / 0.6988 GB, free: 3.367 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1656, allocations: 0 / 0.6988 GB, free: 3.367 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1656, allocations: 3.984 kB / 0.6988 GB, free: 3.363 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.1657, allocations: 4 kB / 0.6988 GB, free: 3.359 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.1657, allocations: 0 / 0.6988 GB, free: 3.359 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.1657, allocations: 11.89 kB / 0.6988 GB, free: 3.348 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1657, allocations: 4 kB / 0.6988 GB, free: 3.344 MB / 0.5137 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.000122/0.1659, allocations: 155.4 kB / 0.6989 GB, free: 3.176 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.1659, allocations: 4 kB / 0.6989 GB, free: 3.172 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.1659, allocations: 8 kB / 0.6989 GB, free: 3.16 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1659, allocations: 0 / 0.6989 GB, free: 3.16 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1659, allocations: 0 / 0.6989 GB, free: 3.16 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1659, allocations: 3.984 kB / 0.6989 GB, free: 3.156 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.1661, allocations: 148.6 kB / 0.6991 GB, free: 2.969 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1661, allocations: 3.938 kB / 0.6991 GB, free: 2.965 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.1661, allocations: 3.984 kB / 0.6991 GB, free: 2.961 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1661, allocations: 4 kB / 0.6991 GB, free: 2.957 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1662, allocations: 4.062 kB / 0.6991 GB, free: 2.953 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1662, allocations: 4 kB / 0.6991 GB, free: 2.949 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1662, allocations: 0 / 0.6991 GB, free: 2.949 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.1665, allocations: 249.1 kB / 0.6993 GB, free: 2.684 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.1665, allocations: 3.953 kB / 0.6993 GB, free: 2.68 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1665, allocations: 4 kB / 0.6994 GB, free: 2.676 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.1666, allocations: 7.984 kB / 0.6994 GB, free: 2.668 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.1667, allocations: 3.938 kB / 0.6994 GB, free: 2.664 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1667, allocations: 12.03 kB / 0.6994 GB, free: 2.652 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 7.547e-05/0.1668, allocations: 99.25 kB / 0.6995 GB, free: 2.555 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 8e-08/0.1668, allocations: 0 / 0.6995 GB, free: 2.555 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0003373/0.1671, allocations: 59.81 kB / 0.6995 GB, free: 2.496 MB / 0.5137 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.0002889/0.1674, allocations: 147.1 kB / 0.6997 GB, free: 2.344 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.0003645/0.1678, allocations: 230.7 kB / 0.6999 GB, free: 2.094 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.1678, allocations: 4 kB / 0.6999 GB, free: 2.09 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1679, allocations: 99.38 kB / 0.7 GB, free: 1.98 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.1681, allocations: 7.938 kB / 0.7 GB, free: 1.973 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.1685, allocations: 185.4 kB / 0.7002 GB, free: 1.766 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1689, allocations: 0.6807 MB / 0.7008 GB, free: 1.059 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 2.303e-05/0.1689, allocations: 4 kB / 0.7008 GB, free: 1.055 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.1689, allocations: 7.438 kB / 0.7008 GB, free: 1.047 MB / 0.5137 GB
Notification: Performance of SimCode: time 3.11e-07/0.1689, allocations: 64 / 0.7008 GB, free: 1.047 MB / 0.5137 GB
Notification: Performance of Templates: time 0.005036/0.174, allocations: 1.778 MB / 0.7026 GB, free: 15.3 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.293858147226274]
Failed to read output from testmodel.py, exit status != 0:
0.18176960572600365 0.19689356199999994 0.031763474
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe56d0017b0>