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.001362/0.001362, allocations: 117.8 kB / 19.7 MB, free: 2.039 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.001562/0.001562, allocations: 223 kB / 23.01 MB, free: 4.938 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.9487/0.9487, allocations: 150 MB / 463.2 MB, free: 10.54 MB / 366.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.002036/0.002036, allocations: 67.11 kB / 0.6413 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1923, allocations: 89.17 MB / 0.7284 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002025/0.1944, allocations: 0.5794 MB / 0.729 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1963, allocations: 1.342 MB / 0.7303 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.1963, allocations: 0 / 0.7303 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.1963, allocations: 0 / 0.7303 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.1963, allocations: 7.875 kB / 0.7303 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.1967, allocations: 75.69 kB / 0.7303 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.347e-05/0.1968, allocations: 4 kB / 0.7304 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.1968, allocations: 0 / 0.7304 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.1968, allocations: 4 kB / 0.7304 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.1968, allocations: 0 / 0.7304 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.1968, allocations: 0 / 0.7304 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.1971, allocations: 115.9 kB / 0.7305 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1972, allocations: 3.984 kB / 0.7305 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.1972, allocations: 0 / 0.7305 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1973, allocations: 64.16 kB / 0.7305 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1973, allocations: 4 kB / 0.7305 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1973, allocations: 0 / 0.7305 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.1973, allocations: 0 / 0.7305 GB, free: 15.15 MB / 0.5606 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.0003228/0.1977, allocations: 258.2 kB / 0.7308 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1977, allocations: 15.97 kB / 0.7308 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.1977, allocations: 30.75 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.1978, allocations: 0.9375 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.1978, allocations: 110.5 kB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.1979, allocations: 384 / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.1979, allocations: 4.375 kB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.198, allocations: 33.83 kB / 0.731 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.198, allocations: 0 / 0.731 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.198, allocations: 0 / 0.731 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.198, allocations: 3.984 kB / 0.731 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.198, allocations: 4 kB / 0.731 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.1982, allocations: 112.8 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.913e-05/0.1982, allocations: 30.53 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.1982, allocations: 8.859 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/0.1986, allocations: 36.03 kB / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1986, allocations: 38.5 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1986, allocations: 0 / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.1987, allocations: 37.64 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1988, allocations: 55.53 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.094e-05/0.1988, allocations: 93.84 kB / 0.7314 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1989, allocations: 25.7 kB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.1989, allocations: 80.14 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.1989, allocations: 7.953 kB / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.1989, allocations: 13.72 kB / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.1991, allocations: 310.8 kB / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.1991, allocations: 0 / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.1991, allocations: 4 kB / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.1992, allocations: 12.8 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1992, allocations: 0 / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.527e-05/0.1992, allocations: 45.62 kB / 0.7318 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1993, allocations: 7.938 kB / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1993, allocations: 0 / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1993, allocations: 0 / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.625e-05/0.1993, allocations: 4 kB / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1993, allocations: 0 / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.1993, allocations: 4.094 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1994, allocations: 3.938 kB / 0.7319 GB, free: 13.59 MB / 0.5606 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.526e-05/0.1994, allocations: 105.8 kB / 0.732 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.1994, allocations: 3.938 kB / 0.732 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.1995, allocations: 44.69 kB / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1995, allocations: 0 / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1995, allocations: 0 / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1995, allocations: 4.031 kB / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.734e-05/0.1996, allocations: 116.8 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1996, allocations: 3.938 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.1997, allocations: 3.984 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1997, allocations: 3.938 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1997, allocations: 0 / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1997, allocations: 0 / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1997, allocations: 4 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.026e-05/0.1997, allocations: 57.14 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.1998, allocations: 3.938 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1998, allocations: 7.984 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-06/0.1998, allocations: 0 / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.1998, allocations: 0 / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1998, allocations: 4 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.1998, allocations: 75.28 kB / 0.7323 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1998, allocations: 0 / 0.7323 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001921/0.2, allocations: 8 kB / 0.7323 GB, free: 13.07 MB / 0.5606 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.0004313/0.2005, allocations: 0.6162 MB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.348e-05/0.2005, allocations: 7.984 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2005, allocations: 0 / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.2005, allocations: 8 kB / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.2007, allocations: 5.719 kB / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.2009, allocations: 106.5 kB / 0.733 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.2012, allocations: 0.6768 MB / 0.7337 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.2012, allocations: 7.875 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.2013, allocations: 7.438 kB / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2013, allocations: 0 / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.2301, allocations: 1.232 MB / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.98, allocations: 0 / 0.7349 GB, free: 10.45 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.802555810998456] Failed to read output from testmodel.py, exit status != 0: 11.081460189001518 11.096737206 10.896266255 Calling exit ...