Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001422/0.001422, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001417/0.001417, allocations: 215 kB / 20.13 MB, free: 2.949 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.406/1.406, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.816/2.816, allocations: 0.5003 GB / 0.8026 GB, free: 6.914 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001936/0.001936, allocations: 75.89 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9215, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002418/0.9239, allocations: 1.459 MB / 1.342 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.9252, allocations: 0.8287 MB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.9252, allocations: 5.312 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.799e-05/0.9253, allocations: 4.641 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.9254, allocations: 10.72 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.9261, allocations: 175.4 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.9262, allocations: 45.66 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.941e-05/0.9263, allocations: 2.922 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.902e-05/0.9263, allocations: 22.44 kB / 1.343 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.9264, allocations: 22.61 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.9264, allocations: 4.312 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.9267, allocations: 210 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.9268, allocations: 5.297 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.9268, allocations: 22.61 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.9271, allocations: 193.8 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9271, allocations: 0.9688 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9271, allocations: 0 / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.9271, allocations: 0 / 1.343 GB, free: 14.46 MB / 1.061 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.0004616/0.9276, allocations: 439.3 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.9276, allocations: 10.73 kB / 1.344 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.004e-05/0.9276, allocations: 192 / 1.344 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.059e-05/0.9277, allocations: 35.81 kB / 1.344 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.9277, allocations: 8.344 kB / 1.344 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.013e-05/0.9278, allocations: 169 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.9278, allocations: 10.84 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.9278, allocations: 1.375 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.928, allocations: 85.22 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.928, allocations: 0 / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.928, allocations: 1.844 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.928, allocations: 0.5625 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.9281, allocations: 45.75 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.9284, allocations: 288 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.9286, allocations: 58.08 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.9286, allocations: 46.39 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.9287, allocations: 0.6562 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.9287, allocations: 31.94 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.9287, allocations: 0 / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003772/0.9291, allocations: 188.9 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.9291, allocations: 79.23 kB / 1.345 GB, free: 13.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.9292, allocations: 134.5 kB / 1.345 GB, free: 13.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.9292, allocations: 25.7 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.9292, allocations: 88.25 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.9292, allocations: 6.078 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.9293, allocations: 23.38 kB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.657e-05/0.9293, allocations: 322.1 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-05/0.9294, allocations: 57.27 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.9295, allocations: 58.81 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.9297, allocations: 203.1 kB / 1.345 GB, free: 12.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9297, allocations: 0 / 1.345 GB, free: 12.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002632/0.93, allocations: 221.5 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.93, allocations: 62.8 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.93, allocations: 0 / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.93, allocations: 1.922 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.9301, allocations: 4.047 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.9301, allocations: 0 / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.9301, allocations: 14.36 kB / 1.346 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.9302, allocations: 3.531 kB / 1.346 GB, free: 12.19 MB / 1.061 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.753e-05/0.9302, allocations: 145.6 kB / 1.346 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.9303, allocations: 7.281 kB / 1.346 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.9303, allocations: 10.12 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.9303, allocations: 1.844 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9303, allocations: 0 / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.9303, allocations: 3.938 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.9304, allocations: 171.3 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9304, allocations: 4 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.9305, allocations: 5.172 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.9305, allocations: 0 / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.9305, allocations: 1.938 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9305, allocations: 0.875 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9305, allocations: 0 / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.9307, allocations: 249.8 kB / 1.346 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.9307, allocations: 90.84 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.9307, allocations: 5.828 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.9308, allocations: 9.344 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.9309, allocations: 8.844 kB / 1.346 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.9309, allocations: 5.531 kB / 1.346 GB, free: 11.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.931, allocations: 96.27 kB / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.931, allocations: 0 / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003487/0.9313, allocations: 58.25 kB / 1.347 GB, free: 11.42 MB / 1.061 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.000562/0.9319, allocations: 0.8379 MB / 1.347 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.9322, allocations: 232.8 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9322, allocations: 0 / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.9323, allocations: 103.2 kB / 1.348 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.9325, allocations: 11.3 kB / 1.348 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.9341, allocations: 1.763 MB / 1.349 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.9342, allocations: 0.6886 MB / 1.35 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.9342, allocations: 1.938 kB / 1.35 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.9342, allocations: 14.23 kB / 1.35 GB, free: 8.359 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.9342, allocations: 0 / 1.35 GB, free: 8.359 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.9538, allocations: 2.835 MB / 1.353 GB, free: 7.934 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.964, allocations: 13.73 kB / 1.353 GB, free: 7.926 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.106117854011245] Failed to read output from testmodel.py, exit status != 0: 9.085574183030985 9.102522448 8.172177998 Calling exit ...