Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001163/0.001163, 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.001181/0.001181, allocations: 191.4 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.298/1.298, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] 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.8849/0.8849, allocations: 149.6 MB / 456.6 MB, free: 1.191 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 68.23 kB / 0.6329 GB, free: 8.961 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1547, allocations: 87.88 MB / 0.7187 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002608/0.1573, allocations: 1.431 MB / 0.7201 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1586, allocations: 0.7985 MB / 0.7209 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.1586, allocations: 4 kB / 0.7209 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.427e-05/0.1586, allocations: 3.938 kB / 0.7209 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.614e-05/0.1587, allocations: 3.984 kB / 0.7209 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.1593, allocations: 186.4 kB / 0.721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1594, allocations: 39.97 kB / 0.7211 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.235e-05/0.1595, allocations: 4 kB / 0.7211 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.1595, allocations: 19.92 kB / 0.7211 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.1596, allocations: 23.91 kB / 0.7211 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1596, allocations: 4 kB / 0.7211 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.1599, allocations: 227.7 kB / 0.7213 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.16, allocations: 15.92 kB / 0.7214 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.16, allocations: 19.86 kB / 0.7214 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.1603, allocations: 191.5 kB / 0.7216 GB, free: 14.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1603, allocations: 4 kB / 0.7216 GB, free: 14.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1603, allocations: 0 / 0.7216 GB, free: 14.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1603, allocations: 7.938 kB / 0.7216 GB, free: 14.03 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004734/0.1608, allocations: 353.3 kB / 0.7219 GB, free: 13.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1608, allocations: 12.03 kB / 0.7219 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.1608, allocations: 0.9375 kB / 0.7219 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1609, allocations: 110.5 kB / 0.722 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.161, allocations: 4.375 kB / 0.722 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.161, allocations: 3.938 kB / 0.722 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1611, allocations: 89.59 kB / 0.7221 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1612, allocations: 0 / 0.7221 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1612, allocations: 0 / 0.7221 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1612, allocations: 0 / 0.7221 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1613, allocations: 43.97 kB / 0.7222 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.1616, allocations: 248 kB / 0.7224 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1618, allocations: 58.55 kB / 0.7225 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.1619, allocations: 52.84 kB / 0.7225 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1619, allocations: 0 / 0.7225 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1619, allocations: 30.56 kB / 0.7225 GB, free: 12.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1619, allocations: 0 / 0.7225 GB, free: 12.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003738/0.1623, allocations: 191.2 kB / 0.7227 GB, free: 12.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.1623, allocations: 89.14 kB / 0.7228 GB, free: 12.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1624, allocations: 117.8 kB / 0.7229 GB, free: 12.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1624, allocations: 25.7 kB / 0.7229 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.1625, allocations: 96.06 kB / 0.723 GB, free: 12.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.1625, allocations: 7.906 kB / 0.723 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.1626, allocations: 21.72 kB / 0.7231 GB, free: 12.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1627, allocations: 326.7 kB / 0.7234 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.986e-05/0.1628, allocations: 59.91 kB / 0.7234 GB, free: 11.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/0.1629, allocations: 63.95 kB / 0.7235 GB, free: 11.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1631, allocations: 189.9 kB / 0.7237 GB, free: 11.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1631, allocations: 0 / 0.7237 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002788/0.1634, allocations: 213 kB / 0.7239 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.1634, allocations: 69.11 kB / 0.7239 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1634, allocations: 0 / 0.7239 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1634, allocations: 0 / 0.7239 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.1635, allocations: 8.062 kB / 0.7239 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1635, allocations: 0 / 0.7239 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.1635, allocations: 11.95 kB / 0.724 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1636, allocations: 4 kB / 0.724 GB, free: 11.33 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: 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.0001146/0.1637, allocations: 155.4 kB / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1637, allocations: 4 kB / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.1637, allocations: 7.984 kB / 0.7241 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1637, allocations: 0 / 0.7241 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1637, allocations: 0 / 0.7241 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1637, allocations: 0 / 0.7241 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1639, allocations: 152.7 kB / 0.7243 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1639, allocations: 0 / 0.7243 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.1639, allocations: 0 / 0.7243 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1639, allocations: 4 kB / 0.7243 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1639, allocations: 0 / 0.7243 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1639, allocations: 0 / 0.7243 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1639, allocations: 0 / 0.7243 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1642, allocations: 253.1 kB / 0.7245 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-06/0.1642, allocations: 7.984 kB / 0.7245 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1642, allocations: 7.984 kB / 0.7245 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.1643, allocations: 4 kB / 0.7245 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.1644, allocations: 11.92 kB / 0.7245 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.1644, allocations: 4 kB / 0.7245 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.225e-05/0.1645, allocations: 95.27 kB / 0.7246 GB, free: 10.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1645, allocations: 3.938 kB / 0.7246 GB, free: 10.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002888/0.1647, allocations: 63.81 kB / 0.7247 GB, free: 10.48 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: 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.0002324/0.165, allocations: 151.1 kB / 0.7248 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.1653, allocations: 230.7 kB / 0.7251 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1653, allocations: 0 / 0.7251 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1654, allocations: 103.4 kB / 0.7252 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.1656, allocations: 0.6875 kB / 0.7252 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.1659, allocations: 185.5 kB / 0.7253 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1662, allocations: 0.6885 MB / 0.726 GB, free: 9.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.58e-05/0.1662, allocations: 3.984 kB / 0.726 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.1663, allocations: 7.438 kB / 0.726 GB, free: 9.031 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1663, allocations: 0 / 0.726 GB, free: 9.031 MB / 0.545 GB Notification: Performance of Templates: time 0.004261/0.1705, allocations: 1.778 MB / 0.7278 GB, free: 7.27 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.994062898680568] Failed to read output from testmodel.py, exit status != 0: 0.17833705618977547 0.19118630999999994 0.028151451 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7a8f2717b0>