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.001353/0.001353, allocations: 78.34 kB / 19.01 MB, free: 2.859 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.001489/0.001489, allocations: 158.3 kB / 22.26 MB, free: 5.105 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.423/1.423, allocations: 177.2 MB / 202.6 MB, free: 9.254 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.002508/0.002508, allocations: 234.2 kB / 259.2 MB, free: 0.5742 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.089/1.089, allocations: 138.5 MB / 454.2 MB, free: 2.082 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: 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.003121/0.003121, allocations: 100.4 kB / 0.6466 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3626, allocations: 95.36 MB / 0.7397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002533/0.3651, allocations: 1.447 MB / 0.7411 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3665, allocations: 0.7801 MB / 0.7419 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.3665, allocations: 0 / 0.7419 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.081e-05/0.3666, allocations: 3.938 kB / 0.7419 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.3666, allocations: 8 kB / 0.7419 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.3673, allocations: 184 kB / 0.7421 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3674, allocations: 39.97 kB / 0.7421 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.3675, allocations: 4 kB / 0.7421 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.3675, allocations: 23.92 kB / 0.7421 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.3676, allocations: 11.98 kB / 0.7422 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3676, allocations: 8 kB / 0.7422 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.368, allocations: 215.7 kB / 0.7424 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.368, allocations: 11.94 kB / 0.7424 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.368, allocations: 15.92 kB / 0.7424 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3683, allocations: 204.5 kB / 0.7426 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3683, allocations: 3.984 kB / 0.7426 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3683, allocations: 0 / 0.7426 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3683, allocations: 0 / 0.7426 GB, free: 12.25 MB / 0.5762 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.0004954/0.3688, allocations: 349.4 kB / 0.7429 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3689, allocations: 9.344 kB / 0.7429 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.3689, allocations: 12.89 kB / 0.743 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.369, allocations: 122.4 kB / 0.7431 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.369, allocations: 4.375 kB / 0.7431 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.369, allocations: 8.375 kB / 0.7431 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3693, allocations: 111.6 kB / 0.7432 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3693, allocations: 0 / 0.7432 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.3693, allocations: 0 / 0.7432 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.3693, allocations: 0 / 0.7432 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3694, allocations: 81.66 kB / 0.7433 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.3698, allocations: 212.6 kB / 0.7435 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.3699, allocations: 92.19 kB / 0.7436 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3701, allocations: 74.61 kB / 0.7436 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.3701, allocations: 3.938 kB / 0.7436 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3701, allocations: 30.56 kB / 0.7437 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3701, allocations: 0 / 0.7437 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004522/0.3705, allocations: 242.7 kB / 0.7439 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.3706, allocations: 89.09 kB / 0.744 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3707, allocations: 121.8 kB / 0.7441 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3707, allocations: 29.73 kB / 0.7441 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.3708, allocations: 92.12 kB / 0.7442 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.3708, allocations: 11.89 kB / 0.7442 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.3709, allocations: 17.72 kB / 0.7442 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.371, allocations: 318.8 kB / 0.7445 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3711, allocations: 115.4 kB / 0.7447 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.3713, allocations: 119.3 kB / 0.7448 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.3715, allocations: 201.9 kB / 0.745 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3715, allocations: 0 / 0.745 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003698/0.3719, allocations: 288.3 kB / 0.7452 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.372, allocations: 63.39 kB / 0.7453 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.372, allocations: 0 / 0.7453 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.372, allocations: 0 / 0.7453 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.372, allocations: 4 kB / 0.7453 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.372, allocations: 0 / 0.7453 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.322e-05/0.3721, allocations: 7.984 kB / 0.7453 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.3721, allocations: 7.984 kB / 0.7453 GB, free: 9.16 MB / 0.5762 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.0001212/0.3722, allocations: 155.4 kB / 0.7455 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.3723, allocations: 11.95 kB / 0.7455 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.3723, allocations: 4 kB / 0.7455 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3723, allocations: 0 / 0.7455 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3723, allocations: 0 / 0.7455 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3723, allocations: 0 / 0.7455 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3724, allocations: 121.4 kB / 0.7456 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.3725, allocations: 7.938 kB / 0.7456 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.3725, allocations: 3.938 kB / 0.7456 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3725, allocations: 4 kB / 0.7456 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3725, allocations: 240 / 0.7456 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3725, allocations: 0 / 0.7456 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3725, allocations: 4 kB / 0.7456 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.3728, allocations: 282.8 kB / 0.7459 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.3729, allocations: 7.938 kB / 0.7459 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3729, allocations: 0 / 0.7459 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.3729, allocations: 7.938 kB / 0.7459 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.373, allocations: 15.92 kB / 0.7459 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.373, allocations: 0 / 0.7459 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.086e-05/0.3731, allocations: 95.27 kB / 0.746 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3731, allocations: 0 / 0.746 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003186/0.3734, allocations: 63.86 kB / 0.7461 GB, free: 8.309 MB / 0.5762 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.0002601/0.3737, allocations: 147.2 kB / 0.7462 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.3741, allocations: 319.8 kB / 0.7465 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3741, allocations: 0 / 0.7465 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3742, allocations: 133.1 kB / 0.7466 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.3744, allocations: 11.94 kB / 0.7466 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.3749, allocations: 207.2 kB / 0.7468 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.41e-05/0.3749, allocations: 75.39 kB / 0.7469 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.69e-05/0.3749, allocations: 0 / 0.7469 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.375, allocations: 8.5 kB / 0.7469 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.375, allocations: 0 / 0.7469 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of Templates: time 0.004561/0.3795, allocations: 1.764 MB / 0.7486 GB, free: 5.586 MB / 0.5762 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.74277768842876] Failed to read output from testmodel.py, exit status != 0: 0.3875335957854986 0.40189684499999995 0.0304537 Calling exit ...