Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.001673/0.001673, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.002083/0.002083, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.628/1.628, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 1.082/1.082, allocations: 150 MB / 459.5 MB, free: 5.711 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.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",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.002078/0.002078, allocations: 69.56 kB / 0.6362 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1823, allocations: 89.14 MB / 0.7232 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001851/0.1842, allocations: 0.5758 MB / 0.7238 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1863, allocations: 1.336 MB / 0.7251 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.1864, allocations: 0 / 0.7251 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.1864, allocations: 0 / 0.7251 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.448e-06/0.1864, allocations: 0 / 0.7251 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.1869, allocations: 83.67 kB / 0.7252 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.1869, allocations: 0 / 0.7252 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.187, allocations: 3.984 kB / 0.7252 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.187, allocations: 4 kB / 0.7252 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.187, allocations: 0 / 0.7252 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.187, allocations: 0 / 0.7252 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.1874, allocations: 111.9 kB / 0.7253 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1874, allocations: 3.984 kB / 0.7253 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.1874, allocations: 0 / 0.7253 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1875, allocations: 64.14 kB / 0.7253 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1875, allocations: 7.938 kB / 0.7253 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.522e-06/0.1876, allocations: 0 / 0.7253 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1876, allocations: 0 / 0.7253 GB, free: 1.867 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003648/0.1879, allocations: 337 kB / 0.7257 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.188, allocations: 8.031 kB / 0.7257 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.188, allocations: 30.75 kB / 0.7257 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.188, allocations: 0.9375 kB / 0.7257 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1881, allocations: 164.3 kB / 0.7259 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.1881, allocations: 384 / 0.7259 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.1882, allocations: 8.375 kB / 0.7259 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.926e-05/0.1883, allocations: 33.81 kB / 0.7259 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1883, allocations: 0 / 0.7259 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.1883, allocations: 0 / 0.7259 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1883, allocations: 0 / 0.7259 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.1883, allocations: 4 kB / 0.7259 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.1884, allocations: 145.7 kB / 0.726 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.202e-05/0.1885, allocations: 22.55 kB / 0.7261 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.1885, allocations: 12.84 kB / 0.7261 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.1891, allocations: 0.5584 MB / 0.7266 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.1892, allocations: 34.5 kB / 0.7267 GB, free: 228 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1892, allocations: 0 / 0.7267 GB, free: 228 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.1893, allocations: 41.62 kB / 0.7267 GB, free: 180 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1894, allocations: 55.53 kB / 0.7268 GB, free: 112 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.92e-05/0.1894, allocations: 93.8 kB / 0.7268 GB, free: 8 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.1894, allocations: 25.7 kB / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.1895, allocations: 80.14 kB / 0.7269 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.1895, allocations: 7.953 kB / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.1895, allocations: 13.72 kB / 0.727 GB, free: 15.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1897, allocations: 310.8 kB / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.1897, allocations: 0 / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-06/0.1897, allocations: 11.98 kB / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.1897, allocations: 4.859 kB / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1897, allocations: 7.938 kB / 0.7273 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.761e-05/0.1898, allocations: 37.7 kB / 0.7273 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1898, allocations: 7.938 kB / 0.7273 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1898, allocations: 0 / 0.7273 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1898, allocations: 0 / 0.7273 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.354e-05/0.1899, allocations: 7.938 kB / 0.7273 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1899, allocations: 0 / 0.7273 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.1899, allocations: 4.094 kB / 0.7273 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1899, allocations: 0 / 0.7273 GB, free: 15.46 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 7.871e-05/0.19, allocations: 109.8 kB / 0.7274 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.19, allocations: 7.938 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1901, allocations: 36.83 kB / 0.7275 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1901, allocations: 0 / 0.7275 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1901, allocations: 0 / 0.7275 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1901, allocations: 4.031 kB / 0.7275 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1902, allocations: 149.7 kB / 0.7276 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1902, allocations: 0 / 0.7276 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.1902, allocations: 0 / 0.7276 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.1902, allocations: 3.938 kB / 0.7276 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1902, allocations: 0 / 0.7276 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.1902, allocations: 7.938 kB / 0.7276 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1902, allocations: 0 / 0.7276 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.851e-05/0.1903, allocations: 61.12 kB / 0.7277 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.1904, allocations: 81.05 kB / 0.7278 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1904, allocations: 7.984 kB / 0.7278 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.007e-05/0.1904, allocations: 0 / 0.7278 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.1904, allocations: 0 / 0.7278 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.1904, allocations: 0 / 0.7278 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.1905, allocations: 75.28 kB / 0.7279 GB, free: 14.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1905, allocations: 0 / 0.7279 GB, free: 14.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002075/0.1907, allocations: 15.92 kB / 0.7279 GB, free: 14.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0004678/0.1912, allocations: 0.6124 MB / 0.7285 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.1912, allocations: 4 kB / 0.7285 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1912, allocations: 3.938 kB / 0.7285 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.1913, allocations: 0 / 0.7285 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.1914, allocations: 12.16 kB / 0.7285 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.1917, allocations: 110.5 kB / 0.7286 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.192, allocations: 0.6728 MB / 0.7293 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.192, allocations: 4 kB / 0.7293 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.1921, allocations: 11.44 kB / 0.7293 GB, free: 13.29 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.1921, allocations: 0 / 0.7293 GB, free: 13.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.2168, allocations: 1.136 MB / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.059, allocations: 11.27 kB / 0.7304 GB, free: 12.24 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.302107262890786] Failed to read output from testmodel.py, exit status != 0: 8.129233085084707 8.158037074 7.965371683 Calling exit ...