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.001326/0.001326, allocations: 80.52 kB / 19.95 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.001488/0.001488, allocations: 173.6 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.9422/0.9422, 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.823/1.823, allocations: 389.5 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.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 2.444e-06/2.444e-06, allocations: 0 / 1.001 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.62e-05, allocations: 5.797 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001604/0.00163, allocations: 0.6266 MB / 1.001 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.003052, allocations: 1.385 MB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.003083, allocations: 0 / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.577e-05/0.003139, allocations: 7.938 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.003179, allocations: 3.984 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.003756, allocations: 182.6 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.003862, allocations: 51.95 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.003901, allocations: 8 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.003951, allocations: 19.92 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.004003, allocations: 27.95 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.004017, allocations: 4 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.004343, allocations: 207.7 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.004395, allocations: 19.92 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.004437, allocations: 15.92 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.004741, allocations: 223.5 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.004745, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.563e-06/0.004746, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.004751, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 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.000401/0.005152, allocations: 373.2 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.005195, allocations: 13.34 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.005229, allocations: 34.73 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.005266, allocations: 8.891 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.766e-05/0.005364, allocations: 117.6 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.005378, allocations: 8.312 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.005389, allocations: 384 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.005575, allocations: 127.9 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005584, allocations: 8.109 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.005595, allocations: 4.125 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.0056, allocations: 0 / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.0057, allocations: 97.64 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.005842, allocations: 144.7 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.005968, allocations: 112.2 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.006058, allocations: 94.59 kB / 1.005 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.006064, allocations: 0 / 1.005 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.006087, allocations: 30.56 kB / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.006088, allocations: 0 / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0003918/0.00648, allocations: 314.6 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.006521, allocations: 81.11 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.00664, allocations: 148.3 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.006655, allocations: 29.73 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.006699, allocations: 92.12 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.006722, allocations: 11.91 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.006771, allocations: 25.72 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.006865, allocations: 322.8 kB / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.007017, allocations: 167.3 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.007155, allocations: 167.3 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.007405, allocations: 289.8 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007407, allocations: 4 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003514/0.007758, allocations: 388.3 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.007818, allocations: 71.45 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.007825, allocations: 11.88 kB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.007838, allocations: 0 / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.007839, allocations: 0 / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.007844, allocations: 0 / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.008017, allocations: 15.88 kB / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.00803, allocations: 7.938 kB / 1.007 GB, free: 7.102 MB / 0.9636 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 9.942e-05/0.008129, allocations: 154.2 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.008146, allocations: 7.953 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.008164, allocations: 12.28 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.008167, allocations: 8 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.008171, allocations: 0 / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008174, allocations: 0 / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.567e-05/0.008269, allocations: 140.7 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.00827, allocations: 0 / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.008271, allocations: 0 / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.008274, allocations: 0 / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.008285, allocations: 7.938 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008286, allocations: 0 / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.008289, allocations: 7.922 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.008545, allocations: 252.4 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.008556, allocations: 11.92 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.008573, allocations: 7.938 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.59e-05/0.008619, allocations: 8 kB / 1.007 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.008678, allocations: 11.92 kB / 1.007 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.008686, allocations: 4 kB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.038e-05/0.008746, allocations: 107.2 kB / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008746, allocations: 0 / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002997/0.009046, allocations: 59.94 kB / 1.007 GB, free: 6.223 MB / 0.9636 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.0006332/0.009679, allocations: 0.8462 MB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.01005, allocations: 427.7 kB / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01006, allocations: 3.938 kB / 1.009 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.01017, allocations: 157 kB / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.01033, allocations: 10.75 kB / 1.009 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.01248, allocations: 2.447 MB / 1.011 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.01255, allocations: 75.33 kB / 1.011 GB, free: 2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.744e-06/0.01255, allocations: 3.984 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.01259, allocations: 16.5 kB / 1.011 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of SimCode: time 7.01e-07/0.01259, allocations: 0 / 1.011 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.092/0.1046, allocations: 4.043 MB / 1.015 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/7.282, allocations: 13.94 kB / 1.015 GB, free: 14.07 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.766090226359665]