Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.0008107/0.0008107, allocations: 100.3 kB / 19.72 MB, free: 428 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.0008506/0.0008506, allocations: 215.3 kB / 23.03 MB, free: 2.969 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.9659/0.9659, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.975/1.975, allocations: 0.5045 GB / 0.8104 GB, free: 2.719 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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009996/0.0009996, allocations: 71.89 kB / 1.177 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7213, allocations: 180 MB / 1.352 GB, free: 1.621 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001501/0.7228, allocations: 0.6194 MB / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.7246, allocations: 1.384 MB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.7247, allocations: 4 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 8.23e-05/0.7247, allocations: 4 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.7248, allocations: 11.86 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006815/0.7255, allocations: 173.8 kB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.7256, allocations: 51.94 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.7256, allocations: 10.19 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.485e-05/0.7257, allocations: 19.98 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.7257, allocations: 23.91 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.7257, allocations: 4 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.726, allocations: 211.7 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.7261, allocations: 15.92 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.7261, allocations: 19.88 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.7264, allocations: 187.5 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7264, allocations: 4 kB / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.7264, allocations: 0 / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.7264, allocations: 0 / 1.355 GB, free: 14.88 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.0004436/0.7268, allocations: 361.3 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.7269, allocations: 12.92 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.7269, allocations: 34.75 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.7269, allocations: 8.891 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.727, allocations: 122.4 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.727, allocations: 4.375 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.7271, allocations: 8.359 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.7272, allocations: 131.3 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.7272, allocations: 0 / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.7273, allocations: 0 / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7273, allocations: 0 / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.909e-05/0.7273, allocations: 101.6 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.7275, allocations: 136.8 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.7276, allocations: 108.2 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.7277, allocations: 94.59 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.7277, allocations: 3.938 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.7277, allocations: 38.5 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.7277, allocations: 0 / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0003208/0.728, allocations: 306.6 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.7281, allocations: 85.11 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.7282, allocations: 151.9 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.7282, allocations: 25.7 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.7282, allocations: 92.17 kB / 1.357 GB, free: 12.87 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.7282, allocations: 15.89 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.7283, allocations: 29.66 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.7284, allocations: 318.8 kB / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.7285, allocations: 171.3 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.7286, allocations: 171.3 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.7288, allocations: 281.8 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7288, allocations: 0 / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002773/0.7291, allocations: 400.2 kB / 1.358 GB, free: 11.42 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.7291, allocations: 71.39 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7291, allocations: 8.062 kB / 1.358 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7291, allocations: 0 / 1.358 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.7291, allocations: 0 / 1.358 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7291, allocations: 0 / 1.358 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.7293, allocations: 11.94 kB / 1.358 GB, free: 11.32 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.7293, allocations: 11.97 kB / 1.358 GB, free: 11.3 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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.0001002/0.7294, allocations: 152 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.7295, allocations: 15.89 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.7295, allocations: 4.344 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7295, allocations: 0 / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7295, allocations: 4 kB / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7295, allocations: 0 / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.507e-05/0.7296, allocations: 136.7 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.7296, allocations: 3.938 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-06/0.7296, allocations: 4 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.7296, allocations: 0 / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.7296, allocations: 4 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7296, allocations: 3.938 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7296, allocations: 0 / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.7298, allocations: 260.4 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.7298, allocations: 7.891 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.7298, allocations: 8.031 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.7299, allocations: 4 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.7299, allocations: 12.12 kB / 1.359 GB, free: 10.61 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.7299, allocations: 3.984 kB / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.73, allocations: 115.2 kB / 1.359 GB, free: 10.49 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.73, allocations: 0 / 1.359 GB, free: 10.49 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002377/0.7302, allocations: 63.88 kB / 1.359 GB, free: 10.43 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 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0005751/0.7308, allocations: 0.842 MB / 1.36 GB, free: 9.543 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.7312, allocations: 423.8 kB / 1.36 GB, free: 9.086 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7312, allocations: 0 / 1.36 GB, free: 9.086 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.7313, allocations: 157 kB / 1.36 GB, free: 8.914 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.7314, allocations: 10.5 kB / 1.36 GB, free: 8.906 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.7333, allocations: 2.442 MB / 1.363 GB, free: 6.316 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.7333, allocations: 79.19 kB / 1.363 GB, free: 6.219 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.113e-06/0.7333, allocations: 0 / 1.363 GB, free: 6.219 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.7334, allocations: 15.44 kB / 1.363 GB, free: 6.203 MB / 1.042 GB Notification: Performance of SimCode: time 1.052e-06/0.7334, allocations: 0 / 1.363 GB, free: 6.203 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08848/0.8219, allocations: 3.91 MB / 1.367 GB, free: 2.438 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.947, allocations: 7.406 kB / 1.367 GB, free: 2.434 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite_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_Utilities_Math_Functions_Examples_CubicHermite.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.CubicHermite_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.817127077840269]