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.001659/0.001659, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001993/0.001993, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.466/1.466, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.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.002487/0.002487, allocations: 242.2 kB / 259.4 MB, free: 460 kB / 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.077/1.077, allocations: 138.4 MB / 454.3 MB, free: 2.004 MB / 366.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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.333e-05, allocations: 2.281 kB / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002469/0.002492, allocations: 1.449 MB / 0.6482 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.00392, allocations: 0.7916 MB / 0.649 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.003952, allocations: 0 / 0.649 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.457e-05/0.004017, allocations: 3.938 kB / 0.649 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.004057, allocations: 0 / 0.649 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.004689, allocations: 175.5 kB / 0.6492 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.004791, allocations: 47.91 kB / 0.6492 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.996e-05/0.004861, allocations: 11.92 kB / 0.6492 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.004918, allocations: 19.98 kB / 0.6492 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.004976, allocations: 23.91 kB / 0.6493 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.004994, allocations: 4 kB / 0.6493 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.00538, allocations: 207.7 kB / 0.6495 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.005423, allocations: 11.94 kB / 0.6495 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.005462, allocations: 15.98 kB / 0.6495 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.005818, allocations: 239.4 kB / 0.6497 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.005821, allocations: 4 kB / 0.6497 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005821, allocations: 0 / 0.6497 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.005825, allocations: 0 / 0.6497 GB, free: 1.988 MB / 0.5606 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.0005001/0.006325, allocations: 357.4 kB / 0.6501 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.006358, allocations: 9.344 kB / 0.6501 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.006397, allocations: 4.938 kB / 0.6501 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.006523, allocations: 113.7 kB / 0.6502 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.006535, allocations: 384 / 0.6502 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.006549, allocations: 4.375 kB / 0.6502 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.006758, allocations: 103.9 kB / 0.6503 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.006765, allocations: 4.188 kB / 0.6503 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.006777, allocations: 4.375 kB / 0.6503 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.00679, allocations: 3.938 kB / 0.6503 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.006929, allocations: 77.59 kB / 0.6504 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.007301, allocations: 216.6 kB / 0.6506 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.007444, allocations: 84.25 kB / 0.6507 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.007561, allocations: 70.61 kB / 0.6507 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.007574, allocations: 0 / 0.6507 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.007611, allocations: 46.5 kB / 0.6508 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.007612, allocations: 0 / 0.6508 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004477/0.00806, allocations: 246.6 kB / 0.651 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.008115, allocations: 77.11 kB / 0.6511 GB, free: 416 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.008236, allocations: 133.7 kB / 0.6512 GB, free: 272 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.008257, allocations: 29.64 kB / 0.6512 GB, free: 236 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.008318, allocations: 88.14 kB / 0.6513 GB, free: 144 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.008335, allocations: 11.84 kB / 0.6513 GB, free: 132 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.00839, allocations: 25.7 kB / 0.6514 GB, free: 100 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.251/0.2594, allocations: 316.2 kB / 0.6517 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.2596, allocations: 115.7 kB / 0.6518 GB, free: 56.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2597, allocations: 117.4 kB / 0.6519 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.2599, allocations: 199.8 kB / 0.6521 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2599, allocations: 0 / 0.6521 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003101/0.2602, allocations: 277.5 kB / 0.6523 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.2603, allocations: 64.64 kB / 0.6524 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2603, allocations: 0.9375 kB / 0.6524 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.2603, allocations: 0 / 0.6524 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.2604, allocations: 8.797 kB / 0.6524 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2604, allocations: 3.75 kB / 0.6524 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.2604, allocations: 13.08 kB / 0.6524 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2604, allocations: 4.156 kB / 0.6524 GB, free: 56.25 MB / 0.5606 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 7.637e-05/0.2605, allocations: 144.4 kB / 0.6526 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.2605, allocations: 4.812 kB / 0.6526 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.2606, allocations: 9.188 kB / 0.6526 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2606, allocations: 0.6875 kB / 0.6526 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2606, allocations: 3.938 kB / 0.6526 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2606, allocations: 6.5 kB / 0.6526 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.2607, allocations: 112.8 kB / 0.6527 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2607, allocations: 0 / 0.6527 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.2607, allocations: 10.34 kB / 0.6527 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2607, allocations: 0 / 0.6527 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2607, allocations: 0.75 kB / 0.6527 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2607, allocations: 3.844 kB / 0.6527 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2607, allocations: 0 / 0.6527 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.261, allocations: 280 kB / 0.653 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.261, allocations: 10.77 kB / 0.653 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.261, allocations: 5.484 kB / 0.653 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.2611, allocations: 7.391 kB / 0.653 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.2612, allocations: 4.781 kB / 0.653 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2612, allocations: 10.67 kB / 0.653 GB, free: 55.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.2612, allocations: 96.22 kB / 0.6531 GB, free: 55.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2612, allocations: 0 / 0.6531 GB, free: 55.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003322/0.2616, allocations: 63.44 kB / 0.6532 GB, free: 55.7 MB / 0.5606 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.0002561/0.2618, allocations: 158.3 kB / 0.6533 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003027/0.2621, allocations: 318.2 kB / 0.6536 GB, free: 55.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2621, allocations: 5.625 kB / 0.6536 GB, free: 55.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2622, allocations: 129 kB / 0.6538 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.2624, allocations: 6.125 kB / 0.6538 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.2628, allocations: 215.2 kB / 0.654 GB, free: 55.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.2629, allocations: 75.17 kB / 0.654 GB, free: 55.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.2629, allocations: 5 kB / 0.654 GB, free: 55.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.2629, allocations: 8.5 kB / 0.6541 GB, free: 55.09 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2629, allocations: 0 / 0.6541 GB, free: 55.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.004563/0.2675, allocations: 1.778 MB / 0.6558 GB, free: 55.04 MB / 0.5606 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.728907715529203] Failed to read output from testmodel.py, exit status != 0: 0.2754029743373394 0.284511572 0.27645769600000003 Calling exit ...