Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001317/0.001317, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.001453/0.001453, allocations: 204 kB / 20.09 MB, free: 2.977 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.478/1.478, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9943/0.9943, allocations: 150 MB / 459.5 MB, free: 5.309 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002069/0.002069, allocations: 72.86 kB / 0.6362 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1969, allocations: 89.14 MB / 0.7232 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001893/0.1988, allocations: 0.603 MB / 0.7238 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2011, allocations: 1.445 MB / 0.7252 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.2011, allocations: 0 / 0.7252 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.786e-05/0.2012, allocations: 0 / 0.7252 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.348e-05/0.2012, allocations: 7.938 kB / 0.7252 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.2019, allocations: 178.2 kB / 0.7254 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2021, allocations: 47.95 kB / 0.7254 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.2021, allocations: 288 / 0.7254 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.29e-05/0.2021, allocations: 23.92 kB / 0.7255 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.2022, allocations: 23.91 kB / 0.7255 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2022, allocations: 4 kB / 0.7255 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.2026, allocations: 211.6 kB / 0.7257 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.2027, allocations: 15.98 kB / 0.7257 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.2027, allocations: 19.81 kB / 0.7257 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.203, allocations: 195.4 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.203, allocations: 0 / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.203, allocations: 0 / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.203, allocations: 0 / 0.7259 GB, free: 1.223 MB / 0.5294 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.0005554/0.2036, allocations: 448.2 kB / 0.7263 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2036, allocations: 8.031 kB / 0.7263 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.99e-05/0.2037, allocations: 38.73 kB / 0.7264 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.2037, allocations: 12.88 kB / 0.7264 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.2039, allocations: 173.9 kB / 0.7266 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2039, allocations: 8.375 kB / 0.7266 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.2039, allocations: 384 / 0.7266 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.2041, allocations: 105.7 kB / 0.7267 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2041, allocations: 0 / 0.7267 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2041, allocations: 4 kB / 0.7267 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2041, allocations: 0 / 0.7267 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.694e-05/0.2042, allocations: 59.95 kB / 0.7267 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.2044, allocations: 177.6 kB / 0.7269 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.2046, allocations: 82.58 kB / 0.727 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/0.2047, allocations: 64.84 kB / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.2047, allocations: 0 / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.2047, allocations: 42.44 kB / 0.7271 GB, free: 15.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.2047, allocations: 0 / 0.7271 GB, free: 15.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0004586/0.2052, allocations: 255.2 kB / 0.7273 GB, free: 15.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.2053, allocations: 77.11 kB / 0.7274 GB, free: 15.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2054, allocations: 142.4 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.2054, allocations: 33.73 kB / 0.7276 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.2055, allocations: 84.14 kB / 0.7276 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.2055, allocations: 15.84 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/0.2056, allocations: 29.7 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.2058, allocations: 326.8 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2059, allocations: 99.94 kB / 0.7281 GB, free: 14.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.206, allocations: 110.9 kB / 0.7282 GB, free: 14.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.2063, allocations: 273.9 kB / 0.7285 GB, free: 14.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2063, allocations: 4.031 kB / 0.7285 GB, free: 14.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003982/0.2067, allocations: 320.8 kB / 0.7288 GB, free: 14.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.892e-05/0.2068, allocations: 71.38 kB / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2068, allocations: 4 kB / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2068, allocations: 0 / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.2068, allocations: 0 / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2068, allocations: 0 / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.207, allocations: 7.953 kB / 0.7289 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.207, allocations: 8 kB / 0.7289 GB, free: 13.91 MB / 0.545 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.0001532/0.2072, allocations: 155.5 kB / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.2072, allocations: 11.89 kB / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.2072, allocations: 4.25 kB / 0.729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.2072, allocations: 7.938 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2072, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2072, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.2074, allocations: 173.6 kB / 0.7292 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2074, allocations: 7.875 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.2074, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2074, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.2074, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.2074, allocations: 12 kB / 0.7292 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2074, allocations: 0 / 0.7292 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.2077, allocations: 226.7 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.2078, allocations: 92.94 kB / 0.7295 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2078, allocations: 0 / 0.7295 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.28e-05/0.2078, allocations: 7.984 kB / 0.7295 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.2079, allocations: 4 kB / 0.7295 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-06/0.2079, allocations: 4.172 kB / 0.7295 GB, free: 13.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.208, allocations: 116.7 kB / 0.7296 GB, free: 12.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.208, allocations: 0 / 0.7296 GB, free: 12.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003119/0.2083, allocations: 63.92 kB / 0.7297 GB, free: 12.93 MB / 0.545 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.000829/0.2091, allocations: 0.8207 MB / 0.7305 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.2096, allocations: 334.7 kB / 0.7308 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2096, allocations: 0 / 0.7308 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.2097, allocations: 123.3 kB / 0.7309 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.2099, allocations: 9.406 kB / 0.731 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.2123, allocations: 2.132 MB / 0.733 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.2127, allocations: 0.6924 MB / 0.7337 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.144e-06/0.2127, allocations: 0 / 0.7337 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.2127, allocations: 15.44 kB / 0.7337 GB, free: 8.621 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.2127, allocations: 4 kB / 0.7337 GB, free: 8.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.2418, allocations: 3.301 MB / 0.737 GB, free: 5.434 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.346, allocations: 13.81 kB / 0.737 GB, free: 5.426 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.294714378891513] Failed to read output from testmodel.py, exit status != 0: 8.41863741306588 8.448203232000001 8.239835339 Calling exit ...