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.001274/0.001274, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001413/0.001413, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9833/0.9833, allocations: 177.1 MB / 204.5 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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.002681/0.002681, allocations: 237.7 kB / 261.3 MB, free: 12.69 MB / 250.7 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 0.7315/0.7315, allocations: 138.4 MB / 456.3 MB, free: 30.02 MB / 410.7 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 2.074e-06/2.074e-06, allocations: 4 kB / 0.5564 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.292e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001595/0.001608, allocations: 1.47 MB / 0.5578 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.00252, allocations: 0.8031 MB / 0.5586 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.002548, allocations: 0 / 0.5586 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.061e-05/0.002609, allocations: 3.938 kB / 0.5586 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.002654, allocations: 7.938 kB / 0.5586 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.003105, allocations: 187.4 kB / 0.5588 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.06e-05/0.003196, allocations: 39.91 kB / 0.5588 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.031e-05/0.003256, allocations: 11.98 kB / 0.5588 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.956e-05/0.003296, allocations: 19.98 kB / 0.5588 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.003338, allocations: 15.98 kB / 0.5589 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.003349, allocations: 4 kB / 0.5589 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.00358, allocations: 215.6 kB / 0.5591 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.003612, allocations: 4 kB / 0.5591 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.003635, allocations: 19.88 kB / 0.5591 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.003842, allocations: 219.5 kB / 0.5593 GB, free: 12.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.003844, allocations: 4 kB / 0.5593 GB, free: 12.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003844, allocations: 0 / 0.5593 GB, free: 12.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003847, allocations: 0 / 0.5593 GB, free: 12.82 MB / 490.7 MB 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.0003324/0.00418, allocations: 463.6 kB / 0.5597 GB, free: 12.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.004208, allocations: 9.938 kB / 0.5598 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.004236, allocations: 4.938 kB / 0.5598 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.557e-05/0.004311, allocations: 120.5 kB / 0.5599 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.004323, allocations: 4.375 kB / 0.5599 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.00433, allocations: 384 / 0.5599 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.004441, allocations: 104.6 kB / 0.56 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.004447, allocations: 4.188 kB / 0.56 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.004454, allocations: 4.375 kB / 0.56 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004459, allocations: 7.938 kB / 0.56 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.347e-05/0.004492, allocations: 45.69 kB / 0.56 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.004698, allocations: 256.4 kB / 0.5603 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.719e-05/0.004755, allocations: 76.69 kB / 0.5604 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.00479, allocations: 57.45 kB / 0.5604 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.004799, allocations: 0 / 0.5604 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.004816, allocations: 37.39 kB / 0.5604 GB, free: 11.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 5.61e-07/0.004817, allocations: 0 / 0.5604 GB, free: 11.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001773/0.004994, allocations: 186.7 kB / 0.5606 GB, free: 11.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.005024, allocations: 81.05 kB / 0.5607 GB, free: 11.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.005109, allocations: 184 kB / 0.5609 GB, free: 10.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.005119, allocations: 25.7 kB / 0.5609 GB, free: 10.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.005159, allocations: 138.8 kB / 0.561 GB, free: 10.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.00517, allocations: 7.891 kB / 0.561 GB, free: 10.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.005205, allocations: 35.34 kB / 0.5611 GB, free: 10.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.005303, allocations: 496.1 kB / 0.5615 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.005346, allocations: 75.39 kB / 0.5616 GB, free: 10.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/0.005385, allocations: 87.31 kB / 0.5617 GB, free: 10.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.715e-05/0.005462, allocations: 144.8 kB / 0.5618 GB, free: 9.922 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005463, allocations: 4.031 kB / 0.5618 GB, free: 9.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001209/0.005584, allocations: 208.4 kB / 0.562 GB, free: 9.684 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.005615, allocations: 63.39 kB / 0.5621 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00562, allocations: 3.938 kB / 0.5621 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/0.005627, allocations: 0 / 0.5621 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.471e-05/0.005662, allocations: 0 / 0.5621 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.005664, allocations: 4 kB / 0.5621 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.005686, allocations: 11.94 kB / 0.5621 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.005692, allocations: 0 / 0.5621 GB, free: 9.59 MB / 490.7 MB 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 6.508e-05/0.005757, allocations: 186.3 kB / 0.5623 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.005776, allocations: 12 kB / 0.5623 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.005791, allocations: 7.938 kB / 0.5623 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.005792, allocations: 0 / 0.5623 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.005793, allocations: 0 / 0.5623 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.005796, allocations: 3.984 kB / 0.5623 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.681e-05/0.005883, allocations: 109.2 kB / 0.5624 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.005884, allocations: 0 / 0.5624 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.005896, allocations: 8.062 kB / 0.5624 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.005897, allocations: 0 / 0.5624 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.005901, allocations: 0 / 0.5624 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.005904, allocations: 8 kB / 0.5624 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.005905, allocations: 3.938 kB / 0.5624 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.006172, allocations: 291.5 kB / 0.5627 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.006179, allocations: 7.953 kB / 0.5627 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.006189, allocations: 3.984 kB / 0.5627 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.006222, allocations: 4 kB / 0.5627 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.00626, allocations: 11.92 kB / 0.5627 GB, free: 8.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.006263, allocations: 0 / 0.5627 GB, free: 8.871 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.489e-05/0.006298, allocations: 135.2 kB / 0.5629 GB, free: 8.738 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006298, allocations: 0 / 0.5629 GB, free: 8.738 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.006495, allocations: 55.88 kB / 0.5629 GB, free: 8.684 MB / 490.7 MB 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.0001647/0.006659, allocations: 167.1 kB / 0.5631 GB, free: 8.512 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.00682, allocations: 263.5 kB / 0.5633 GB, free: 8.207 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.006822, allocations: 0 / 0.5633 GB, free: 8.207 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.58e-05/0.006877, allocations: 116.8 kB / 0.5635 GB, free: 8.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.007021, allocations: 8 kB / 0.5635 GB, free: 8.062 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.007243, allocations: 206.5 kB / 0.5637 GB, free: 7.832 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.908e-05/0.007272, allocations: 59.34 kB / 0.5637 GB, free: 7.754 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.406e-05/0.007286, allocations: 4.062 kB / 0.5637 GB, free: 7.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.007338, allocations: 78.2 kB / 0.5638 GB, free: 7.672 MB / 490.7 MB Notification: Performance of SimCode: time 6.52e-07/0.007338, allocations: 0 / 0.5638 GB, free: 7.672 MB / 490.7 MB Notification: Performance of Templates: time 0.003101/0.01044, allocations: 2.041 MB / 0.5658 GB, free: 5.68 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.581714602187276]