Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009591/0.0009591, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 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.0009027/0.0009027, allocations: 220.3 kB / 23.03 MB, free: 2.953 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.937/0.937, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.933/1.933, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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_13_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.89 kB / 1.177 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9112/0.9124, allocations: 180 MB / 1.352 GB, free: 1.652 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00307/0.9154, allocations: 1.462 MB / 1.354 GB, free: 188 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.9169, allocations: 0.7831 MB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.917, allocations: 0 / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.9171, allocations: 4 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-05/0.9171, allocations: 3.938 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007731/0.9179, allocations: 179.6 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.9181, allocations: 47.84 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.9182, allocations: 4 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.9182, allocations: 23.97 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.9183, allocations: 15.92 kB / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.9183, allocations: 4 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.9186, allocations: 215.7 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.9187, allocations: 11.92 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.9187, allocations: 11.94 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.919, allocations: 195.5 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.919, allocations: 4 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.798e-06/0.919, allocations: 0 / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.919, allocations: 7.875 kB / 1.355 GB, free: 14.69 MB / 1.042 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.0006079/0.9196, allocations: 357.4 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.9197, allocations: 8.922 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.9198, allocations: 38.75 kB / 1.356 GB, free: 14.24 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.9198, allocations: 4.891 kB / 1.356 GB, free: 14.24 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.9199, allocations: 114.4 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.9199, allocations: 8.125 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.9199, allocations: 0 / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.9202, allocations: 111.4 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9202, allocations: 0 / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.9202, allocations: 0 / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.9202, allocations: 0 / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.751e-05/0.9203, allocations: 81.59 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.9208, allocations: 240 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.9209, allocations: 80.25 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.232e-05/0.921, allocations: 78.61 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.921, allocations: 0 / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.921, allocations: 38.56 kB / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.921, allocations: 0 / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0003547/0.9214, allocations: 246.6 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.9214, allocations: 81.09 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.9215, allocations: 129.8 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.9216, allocations: 25.7 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.9216, allocations: 84.12 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.9216, allocations: 11.95 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.9217, allocations: 21.66 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9218, allocations: 322.8 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.9219, allocations: 119.4 kB / 1.357 GB, free: 12.27 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.922, allocations: 119.4 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.9222, allocations: 209.9 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.9222, allocations: 0 / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006425/0.9228, allocations: 276.4 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.9229, allocations: 63.39 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.9229, allocations: 0 / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.9229, allocations: 0 / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.923, allocations: 8 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.923, allocations: 0 / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.923, allocations: 15.98 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.923, allocations: 3.938 kB / 1.358 GB, free: 11.52 MB / 1.042 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.0001075/0.9231, allocations: 151.5 kB / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.9231, allocations: 8.188 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.9232, allocations: 4 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9232, allocations: 3.984 kB / 1.358 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.9232, allocations: 4 kB / 1.358 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.9232, allocations: 0 / 1.358 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.9233, allocations: 144.7 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.9233, allocations: 0 / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.9233, allocations: 4 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.9233, allocations: 3.938 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.9233, allocations: 0 / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9233, allocations: 4 kB / 1.358 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9233, allocations: 0 / 1.358 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.9236, allocations: 282.8 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.9236, allocations: 3.938 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.9236, allocations: 4 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.9236, allocations: 12.02 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.9238, allocations: 0 / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.9238, allocations: 8 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.171e-05/0.9238, allocations: 107.1 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.9238, allocations: 0 / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002394/0.9241, allocations: 55.92 kB / 1.359 GB, free: 10.64 MB / 1.042 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.0006625/0.9247, allocations: 0.864 MB / 1.36 GB, free: 9.738 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.9251, allocations: 323.9 kB / 1.36 GB, free: 9.379 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9251, allocations: 0 / 1.36 GB, free: 9.379 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/0.9252, allocations: 133.1 kB / 1.36 GB, free: 9.23 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.9254, allocations: 4 kB / 1.36 GB, free: 9.227 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.9272, allocations: 2.035 MB / 1.362 GB, free: 7.047 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.132e-05/0.9273, allocations: 71.34 kB / 1.362 GB, free: 6.957 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.9273, allocations: 4.062 kB / 1.362 GB, free: 6.953 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.9273, allocations: 15.42 kB / 1.362 GB, free: 6.938 MB / 1.042 GB Notification: Performance of SimCode: time 9.72e-07/0.9273, allocations: 0 / 1.362 GB, free: 6.938 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07886/1.006, allocations: 3.313 MB / 1.365 GB, free: 3.789 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.895, allocations: 5.859 kB / 1.365 GB, free: 3.789 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.843964208848774]