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.001319/0.001319, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.00122/0.00122, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9339/0.9339, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.841/1.841, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.964e-06/1.964e-06, allocations: 0 / 1.001 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.416e-05, allocations: 2.281 kB / 1.001 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002375/0.002389, allocations: 1.452 MB / 1.002 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.003673, allocations: 0.7993 MB / 1.003 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.003707, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 6.857e-05/0.003776, allocations: 7.875 kB / 1.003 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.003823, allocations: 7.984 kB / 1.003 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.004462, allocations: 175.5 kB / 1.003 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.004572, allocations: 47.92 kB / 1.003 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.004649, allocations: 7.984 kB / 1.003 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.004704, allocations: 23.98 kB / 1.003 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.004757, allocations: 11.97 kB / 1.003 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.004774, allocations: 4 kB / 1.003 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.005113, allocations: 211.6 kB / 1.003 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.00516, allocations: 15.97 kB / 1.003 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.005194, allocations: 11.94 kB / 1.003 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.00551, allocations: 235.5 kB / 1.004 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005512, allocations: 3.938 kB / 1.004 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.01e-07/0.005513, allocations: 7.938 kB / 1.004 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.005517, allocations: 0 / 1.004 GB, free: 9.352 MB / 0.9167 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.0004578/0.005974, allocations: 353.4 kB / 1.004 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.006017, allocations: 9.344 kB / 1.004 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.006055, allocations: 34.75 kB / 1.004 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.006083, allocations: 0.9375 kB / 1.004 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.385e-05/0.006177, allocations: 117.7 kB / 1.004 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.006191, allocations: 4.375 kB / 1.004 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.006203, allocations: 4.375 kB / 1.004 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.006391, allocations: 107.3 kB / 1.004 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.006399, allocations: 4 kB / 1.004 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.006409, allocations: 0 / 1.004 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.006413, allocations: 0 / 1.004 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.006525, allocations: 81.61 kB / 1.004 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.006887, allocations: 248 kB / 1.005 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.007013, allocations: 88.25 kB / 1.005 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.007097, allocations: 70.61 kB / 1.005 GB, free: 8.094 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.007107, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.007132, allocations: 34.56 kB / 1.005 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.007133, allocations: 4 kB / 1.005 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003602/0.007493, allocations: 246.6 kB / 1.005 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.007537, allocations: 81.11 kB / 1.005 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.007628, allocations: 129.8 kB / 1.005 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.007641, allocations: 25.7 kB / 1.005 GB, free: 7.516 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.007683, allocations: 92.08 kB / 1.005 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.007697, allocations: 7.906 kB / 1.005 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.00774, allocations: 25.7 kB / 1.005 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.007822, allocations: 314.8 kB / 1.006 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.00793, allocations: 123.4 kB / 1.006 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.863e-05/0.008029, allocations: 119.4 kB / 1.006 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.008226, allocations: 193.9 kB / 1.006 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.008228, allocations: 4 kB / 1.006 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002579/0.008486, allocations: 284.4 kB / 1.006 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.008526, allocations: 63.41 kB / 1.006 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.00853, allocations: 0 / 1.006 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.008545, allocations: 4 kB / 1.006 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.984e-05/0.008595, allocations: 3.984 kB / 1.006 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.008599, allocations: 4 kB / 1.006 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.008636, allocations: 16.12 kB / 1.006 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.008646, allocations: 0 / 1.006 GB, free: 6.18 MB / 0.9167 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 8.406e-05/0.00873, allocations: 152.3 kB / 1.007 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.008756, allocations: 4 kB / 1.007 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.008777, allocations: 7.984 kB / 1.007 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.00878, allocations: 4 kB / 1.007 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.008783, allocations: 0 / 1.007 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.008787, allocations: 3.984 kB / 1.007 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.008925, allocations: 140.7 kB / 1.007 GB, free: 5.809 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008927, allocations: 0 / 1.007 GB, free: 5.809 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.00895, allocations: 7.984 kB / 1.007 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.008952, allocations: 0 / 1.007 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.008962, allocations: 4 kB / 1.007 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008964, allocations: 3.938 kB / 1.007 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008965, allocations: 0 / 1.007 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.009195, allocations: 278.8 kB / 1.007 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.009201, allocations: 0 / 1.007 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.009217, allocations: 7.984 kB / 1.007 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.009276, allocations: 8.031 kB / 1.007 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.009351, allocations: 0 / 1.007 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.009357, allocations: 7.984 kB / 1.007 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.009406, allocations: 103.2 kB / 1.007 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.009407, allocations: 0 / 1.007 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003249/0.009731, allocations: 55.89 kB / 1.007 GB, free: 5.312 MB / 0.9167 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.000596/0.01033, allocations: 0.8679 MB / 1.008 GB, free: 4.402 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.01063, allocations: 331.8 kB / 1.008 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01063, allocations: 0 / 1.008 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.01074, allocations: 125.1 kB / 1.008 GB, free: 3.895 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01097, allocations: 9.875 kB / 1.008 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.01284, allocations: 2.039 MB / 1.01 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.0129, allocations: 75.33 kB / 1.011 GB, free: 1.602 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.791e-05/0.01292, allocations: 64 / 1.011 GB, free: 1.602 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.01295, allocations: 16.5 kB / 1.011 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of SimCode: time 7.21e-07/0.01295, allocations: 4 kB / 1.011 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07827/0.09122, allocations: 3.46 MB / 1.014 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.189, allocations: 5.391 kB / 1.014 GB, free: 14.32 MB / 0.9323 GB " [Timeout remaining time 293] (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: 11.612555239349604]