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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 217.4 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 256 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002789/0.002789, allocations: 282.2 kB / 312.7 MB, free: 2.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.248/1.248, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003094/0.003094, allocations: 101.8 kB / 0.74 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1588, allocations: 95.38 MB / 0.8331 GB, free: 7.836 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002873/0.1617, allocations: 1.447 MB / 0.8346 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1632, allocations: 0.7816 MB / 0.8353 GB, free: 5.586 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.1632, allocations: 0 / 0.8353 GB, free: 5.586 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 6.269e-05/0.1633, allocations: 0 / 0.8353 GB, free: 5.586 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.1633, allocations: 7.938 kB / 0.8353 GB, free: 5.578 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.164, allocations: 177 kB / 0.8355 GB, free: 5.406 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1641, allocations: 51.83 kB / 0.8355 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 6.899e-05/0.1642, allocations: 7.938 kB / 0.8356 GB, free: 5.348 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.1642, allocations: 15.98 kB / 0.8356 GB, free: 5.332 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.1643, allocations: 19.92 kB / 0.8356 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1643, allocations: 4 kB / 0.8356 GB, free: 5.309 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.1647, allocations: 215.7 kB / 0.8358 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.1647, allocations: 4 kB / 0.8358 GB, free: 5.094 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.1648, allocations: 23.86 kB / 0.8358 GB, free: 5.07 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.1651, allocations: 195.4 kB / 0.836 GB, free: 4.879 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1651, allocations: 8 kB / 0.836 GB, free: 4.871 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1651, allocations: 0 / 0.836 GB, free: 4.871 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1651, allocations: 0 / 0.836 GB, free: 4.871 MB / 0.5763 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.0005051/0.1656, allocations: 356 kB / 0.8364 GB, free: 4.484 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1656, allocations: 9.344 kB / 0.8364 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1657, allocations: 8.891 kB / 0.8364 GB, free: 4.469 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1658, allocations: 118.4 kB / 0.8365 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1658, allocations: 384 / 0.8365 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1658, allocations: 4.375 kB / 0.8365 GB, free: 4.324 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.166, allocations: 111.7 kB / 0.8366 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.166, allocations: 0 / 0.8366 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.166, allocations: 7.984 kB / 0.8366 GB, free: 4.195 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.166, allocations: 0 / 0.8366 GB, free: 4.195 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1662, allocations: 77.59 kB / 0.8367 GB, free: 4.113 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.1665, allocations: 220.6 kB / 0.8369 GB, free: 3.867 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1667, allocations: 88.19 kB / 0.837 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1668, allocations: 70.61 kB / 0.837 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.1668, allocations: 0 / 0.837 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1668, allocations: 42.56 kB / 0.8371 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1668, allocations: 0 / 0.8371 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0004416/0.1673, allocations: 246.6 kB / 0.8373 GB, free: 3.371 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1673, allocations: 77.11 kB / 0.8374 GB, free: 3.277 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1675, allocations: 129.8 kB / 0.8375 GB, free: 3.141 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1675, allocations: 25.7 kB / 0.8375 GB, free: 3.109 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.1675, allocations: 88.14 kB / 0.8376 GB, free: 3.02 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1676, allocations: 7.938 kB / 0.8376 GB, free: 3.012 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.1676, allocations: 21.72 kB / 0.8377 GB, free: 2.984 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1678, allocations: 322.8 kB / 0.838 GB, free: 2.66 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1679, allocations: 115.4 kB / 0.8381 GB, free: 2.535 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1681, allocations: 119.4 kB / 0.8382 GB, free: 2.406 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.1683, allocations: 201.9 kB / 0.8384 GB, free: 2.188 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1683, allocations: 0 / 0.8384 GB, free: 2.188 MB / 0.5763 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003651/0.1687, allocations: 284.3 kB / 0.8386 GB, free: 1.879 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/0.1687, allocations: 63.39 kB / 0.8387 GB, free: 1.805 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1687, allocations: 4 kB / 0.8387 GB, free: 1.801 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1688, allocations: 3.938 kB / 0.8387 GB, free: 1.797 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.1688, allocations: 4 kB / 0.8387 GB, free: 1.793 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1688, allocations: 4 kB / 0.8387 GB, free: 1.789 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.1689, allocations: 11.92 kB / 0.8387 GB, free: 1.777 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.1689, allocations: 4 kB / 0.8387 GB, free: 1.773 MB / 0.5763 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.000145/0.169, allocations: 151.5 kB / 0.8389 GB, free: 1.609 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.1691, allocations: 11.89 kB / 0.8389 GB, free: 1.598 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.1691, allocations: 8 kB / 0.8389 GB, free: 1.582 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1691, allocations: 0 / 0.8389 GB, free: 1.582 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1691, allocations: 0 / 0.8389 GB, free: 1.582 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1691, allocations: 0 / 0.8389 GB, free: 1.582 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1692, allocations: 113.3 kB / 0.839 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.1693, allocations: 7.922 kB / 0.839 GB, free: 1.434 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.1693, allocations: 4 kB / 0.839 GB, free: 1.43 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1693, allocations: 3.938 kB / 0.839 GB, free: 1.426 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1693, allocations: 4 kB / 0.839 GB, free: 1.422 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1693, allocations: 0 / 0.839 GB, free: 1.422 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1693, allocations: 0 / 0.839 GB, free: 1.422 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.1696, allocations: 282.8 kB / 0.8393 GB, free: 1.117 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.1696, allocations: 3.938 kB / 0.8393 GB, free: 1.113 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1697, allocations: 4 kB / 0.8393 GB, free: 1.109 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.1697, allocations: 8.031 kB / 0.8393 GB, free: 1.102 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.1699, allocations: 3.984 kB / 0.8393 GB, free: 1.098 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1699, allocations: 4 kB / 0.8393 GB, free: 1.094 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 6.86e-05/0.1699, allocations: 99.27 kB / 0.8394 GB, free: 0.9961 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1699, allocations: 0 / 0.8394 GB, free: 0.9961 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003521/0.1703, allocations: 59.86 kB / 0.8395 GB, free: 0.9375 MB / 0.5763 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.0002723/0.1706, allocations: 151.1 kB / 0.8396 GB, free: 0.7812 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.171, allocations: 328 kB / 0.8399 GB, free: 428 kB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.171, allocations: 3.938 kB / 0.8399 GB, free: 424 kB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1712, allocations: 133.1 kB / 0.8401 GB, free: 272 kB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1714, allocations: 3.938 kB / 0.8401 GB, free: 268 kB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.1718, allocations: 207.3 kB / 0.8403 GB, free: 28 kB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.59e-05/0.1719, allocations: 75.41 kB / 0.8403 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.835e-05/0.1719, allocations: 0 / 0.8403 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.172, allocations: 15.44 kB / 0.8403 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.172, allocations: 4.062 kB / 0.8404 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.004728/0.1767, allocations: 1.787 MB / 0.8421 GB, free: 14.17 MB / 0.5919 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: 6.043582985177636] Failed to read output from testmodel.py, exit status != 0: 0.183952571824193 0.199489712 0.031291602 Calling exit ...