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.0006593/0.0006593, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008884/0.001548, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006624/0.0006624, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008785/0.001541, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.911/0.911, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08491/0.9959, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 234.8 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00172/0.003754, allocations: 475.7 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6692/0.6692, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07149/0.7406, allocations: 42.4 MB / 426.7 MB, free: 5.836 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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 9.72e-07/9.72e-07, allocations: 0 / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.677e-05, allocations: 2.312 kB / 428.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001684/0.0017, allocations: 1.529 MB / 429.6 MB, free: 2.941 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008364/0.002537, allocations: 0.8148 MB / 430.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.002563, allocations: 4 kB / 430.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.284e-05/0.002606, allocations: 0 / 430.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.002636, allocations: 11.88 kB / 430.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.003021, allocations: 151.5 kB / 430.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.003113, allocations: 51.91 kB / 430.6 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.003163, allocations: 3.984 kB / 430.6 MB, free: 1.898 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.003214, allocations: 27.98 kB / 430.7 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.99e-05/0.003254, allocations: 23.91 kB / 430.7 MB, free: 1.848 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.003266, allocations: 4 kB / 430.7 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.003548, allocations: 231.7 kB / 430.9 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.003584, allocations: 11.92 kB / 430.9 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.003605, allocations: 8 kB / 430.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.003797, allocations: 179.5 kB / 431.1 MB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.003806, allocations: 3.938 kB / 431.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003807, allocations: 0 / 431.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.003815, allocations: 0 / 431.1 MB, free: 1.418 MB / 410.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.00035/0.004165, allocations: 351.7 kB / 431.5 MB, free: 1.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.634e-05/0.004191, allocations: 15.98 kB / 431.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.004218, allocations: 4.938 kB / 431.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.063e-05/0.004288, allocations: 117.6 kB / 431.6 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.004298, allocations: 4.375 kB / 431.6 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.004307, allocations: 384 / 431.6 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.004421, allocations: 100.6 kB / 431.7 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.004426, allocations: 192 / 431.7 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.004432, allocations: 384 / 431.7 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004437, allocations: 7.938 kB / 431.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.00447, allocations: 53.61 kB / 431.8 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.004647, allocations: 164.2 kB / 431.9 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.838e-05/0.004706, allocations: 64.31 kB / 432 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.004736, allocations: 50.62 kB / 432 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.004746, allocations: 4 kB / 432 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.004767, allocations: 38.55 kB / 432.1 MB, free: 340 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004768, allocations: 0 / 432.1 MB, free: 340 kB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001512/0.004919, allocations: 182.6 kB / 432.2 MB, free: 132 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.004938, allocations: 51.41 kB / 432.3 MB, free: 68 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1788/0.1837, allocations: 114.1 kB / 432.4 MB, free: 2.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1837, allocations: 26.39 kB / 432.4 MB, free: 2.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.1838, allocations: 88.11 kB / 432.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.1838, allocations: 12.66 kB / 432.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.1838, allocations: 23.92 kB / 432.6 MB, free: 2.055 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.1839, allocations: 317.3 kB / 432.9 MB, free: 1.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.1839, allocations: 81.86 kB / 432.9 MB, free: 1.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.945e-05/0.184, allocations: 80.05 kB / 433 MB, free: 1.613 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.925e-05/0.1841, allocations: 149.4 kB / 433.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1841, allocations: 1.094 kB / 433.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000146/0.1842, allocations: 198.7 kB / 433.4 MB, free: 1.352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.1843, allocations: 62.39 kB / 433.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1843, allocations: 1.375 kB / 433.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1843, allocations: 3.562 kB / 433.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.1844, allocations: 8.25 kB / 433.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.1844, allocations: 0.9375 kB / 433.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.1844, allocations: 7.672 kB / 433.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1844, allocations: 3.094 kB / 433.4 MB, free: 1.289 MB / 410.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 5.748e-05/0.1845, allocations: 146.2 kB / 433.6 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.1845, allocations: 4.125 kB / 433.6 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.1845, allocations: 14.19 kB / 433.6 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1845, allocations: 0.5938 kB / 433.6 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1845, allocations: 3.938 kB / 433.6 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1845, allocations: 0.5469 kB / 433.6 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.1847, allocations: 71.02 kB / 433.7 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1847, allocations: 1.062 kB / 433.7 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.1847, allocations: 5.828 kB / 433.7 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.1847, allocations: 4.781 kB / 433.7 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1847, allocations: 1.75 kB / 433.7 MB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1847, allocations: 6.344 kB / 433.7 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1847, allocations: 0.6875 kB / 433.7 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1847, allocations: 0.6562 kB / 433.7 MB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1849, allocations: 230.7 kB / 433.9 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1849, allocations: 2.656 kB / 433.9 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.185, allocations: 4.281 kB / 433.9 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.185, allocations: 12.73 kB / 433.9 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.185, allocations: 3 kB / 434 MB, free: 16.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.097e-05/0.185, allocations: 18.11 kB / 434 MB, free: 16.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.185, allocations: 0 / 434 MB, free: 16.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.1853, allocations: 61.67 kB / 434 MB, free: 16.85 MB / 426.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.0002339/0.1856, allocations: 149.5 kB / 434.2 MB, free: 16.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1858, allocations: 264.8 kB / 434.4 MB, free: 16.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.1858, allocations: 3.547 kB / 434.4 MB, free: 16.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.581e-05/0.1858, allocations: 117.3 kB / 434.6 MB, free: 16.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.186, allocations: 8.219 kB / 434.6 MB, free: 16.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.1864, allocations: 185.5 kB / 434.7 MB, free: 16.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.1865, allocations: 62.48 kB / 434.8 MB, free: 16.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.557e-05/0.1865, allocations: 0 / 434.8 MB, free: 16.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.1865, allocations: 61.34 kB / 434.9 MB, free: 16.2 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1865, allocations: 3.625 kB / 434.9 MB, free: 16.2 MB / 426.7 MB Notification: Performance of Templates: time 0.004329/0.1909, allocations: 2.027 MB / 436.9 MB, free: 16.17 MB / 426.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.1996602285653353]