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.0009825/0.0009825, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001844/0.001844, allocations: 177 kB / 23.5 MB, free: 1.055 MB / 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.9442/0.9442, allocations: 177.1 MB / 203.8 MB, free: 5.27 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.001678/0.001678, allocations: 241.8 kB / 260.5 MB, free: 12.72 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.7218/0.7218, allocations: 138.4 MB / 455.4 MB, free: 1.57 MB / 362.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 1.443e-06/1.443e-06, allocations: 0 / 0.555 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.172e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002454/0.002476, allocations: 1.482 MB / 0.5565 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003755, allocations: 0.8033 MB / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.003794, allocations: 0 / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.067e-05/0.003865, allocations: 7.875 kB / 0.5573 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.192e-05/0.003917, allocations: 4 kB / 0.5573 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006548/0.004572, allocations: 179.5 kB / 0.5575 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.00469, allocations: 43.91 kB / 0.5575 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/0.00477, allocations: 4 kB / 0.5575 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.004824, allocations: 23.97 kB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.00488, allocations: 15.97 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.004895, allocations: 4 kB / 0.5575 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.005258, allocations: 223.5 kB / 0.5578 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.005303, allocations: 8 kB / 0.5578 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.005341, allocations: 15.92 kB / 0.5578 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.005667, allocations: 219.5 kB / 0.558 GB, free: 13.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005669, allocations: 3.938 kB / 0.558 GB, free: 13.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.00567, allocations: 0 / 0.558 GB, free: 13.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.005674, allocations: 0 / 0.558 GB, free: 13.83 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.0004938/0.006167, allocations: 455.7 kB / 0.5584 GB, free: 13.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.006208, allocations: 8.75 kB / 0.5584 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.006259, allocations: 8.891 kB / 0.5585 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.006362, allocations: 120.5 kB / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.006375, allocations: 4.375 kB / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.00639, allocations: 12.36 kB / 0.5586 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.006579, allocations: 112.6 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006586, allocations: 192 / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.006599, allocations: 4.375 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.006608, allocations: 3.938 kB / 0.5587 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.006709, allocations: 57.69 kB / 0.5588 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.007019, allocations: 275.8 kB / 0.559 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.007098, allocations: 84.73 kB / 0.5591 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.007149, allocations: 73.38 kB / 0.5592 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.00716, allocations: 4 kB / 0.5592 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.007183, allocations: 41.33 kB / 0.5592 GB, free: 12.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.007184, allocations: 0 / 0.5592 GB, free: 12.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002459/0.00743, allocations: 218.7 kB / 0.5594 GB, free: 12.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.007463, allocations: 81.11 kB / 0.5595 GB, free: 12.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.007612, allocations: 177.9 kB / 0.5597 GB, free: 11.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.007622, allocations: 25.7 kB / 0.5597 GB, free: 11.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.007664, allocations: 138.9 kB / 0.5598 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.007678, allocations: 15.83 kB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.007711, allocations: 23.38 kB / 0.5599 GB, free: 11.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.007816, allocations: 0.4962 MB / 0.5603 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.00789, allocations: 103.3 kB / 0.5604 GB, free: 11.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/0.007947, allocations: 95.38 kB / 0.5605 GB, free: 10.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.008061, allocations: 172.8 kB / 0.5607 GB, free: 10.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008063, allocations: 4 kB / 0.5607 GB, free: 10.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001675/0.008231, allocations: 240.4 kB / 0.5609 GB, free: 10.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.00827, allocations: 71.33 kB / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.008274, allocations: 0 / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.008287, allocations: 4 kB / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.008342, allocations: 0 / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.008347, allocations: 0 / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.008369, allocations: 16 kB / 0.561 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.008378, allocations: 4 kB / 0.561 GB, free: 10.39 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 7.384e-05/0.008452, allocations: 190.3 kB / 0.5612 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.008586, allocations: 11.89 kB / 0.5612 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.008603, allocations: 8 kB / 0.5612 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.008605, allocations: 0 / 0.5612 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.008607, allocations: 0 / 0.5612 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.00861, allocations: 0 / 0.5612 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.008713, allocations: 128.6 kB / 0.5613 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.008713, allocations: 0 / 0.5613 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.008728, allocations: 8 kB / 0.5614 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.008729, allocations: 0 / 0.5614 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.008739, allocations: 7.938 kB / 0.5614 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.00874, allocations: 0 / 0.5614 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008741, allocations: 0 / 0.5614 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.008909, allocations: 311.5 kB / 0.5617 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.008916, allocations: 11.94 kB / 0.5617 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.008929, allocations: 3.938 kB / 0.5617 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/0.008962, allocations: 7.984 kB / 0.5617 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.009019, allocations: 8 kB / 0.5617 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.009023, allocations: 0 / 0.5617 GB, free: 9.621 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.017e-05/0.009063, allocations: 143.1 kB / 0.5618 GB, free: 9.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009063, allocations: 0 / 0.5618 GB, free: 9.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.009287, allocations: 63.86 kB / 0.5619 GB, free: 9.418 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.0001877/0.009475, allocations: 155.2 kB / 0.562 GB, free: 9.258 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.009687, allocations: 295.5 kB / 0.5623 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009689, allocations: 0 / 0.5623 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.009759, allocations: 132.7 kB / 0.5624 GB, free: 8.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.009918, allocations: 8 kB / 0.5624 GB, free: 8.762 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.0102, allocations: 211 kB / 0.5626 GB, free: 8.523 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.28e-05/0.01023, allocations: 55.36 kB / 0.5627 GB, free: 8.449 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.607e-05/0.01025, allocations: 4 kB / 0.5627 GB, free: 8.445 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.01027, allocations: 12.48 kB / 0.5627 GB, free: 8.434 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01027, allocations: 0 / 0.5627 GB, free: 8.434 MB / 490.7 MB Notification: Performance of Templates: time 0.003435/0.0137, allocations: 1.829 MB / 0.5645 GB, free: 6.641 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.423788234125823]