Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001663/0.001663, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001851/0.001851, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9299/0.9299, allocations: 145 MB / 457.4 MB, free: 15.77 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002271/0.002271, allocations: 74.56 kB / 0.6331 GB, free: 6.82 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1936, allocations: 87.89 MB / 0.719 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002114/0.1957, allocations: 0.5883 MB / 0.7195 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.1979, allocations: 1.272 MB / 0.7208 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.1979, allocations: 0 / 0.7208 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.1979, allocations: 4 kB / 0.7208 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.1979, allocations: 0 / 0.7208 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.1985, allocations: 75.67 kB / 0.7209 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.232e-05/0.1985, allocations: 4 kB / 0.7209 GB, free: 13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.1986, allocations: 0 / 0.7209 GB, free: 13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.1986, allocations: 0 / 0.7209 GB, free: 13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.1987, allocations: 4 kB / 0.7209 GB, free: 13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1987, allocations: 0 / 0.7209 GB, free: 13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.199, allocations: 107.9 kB / 0.721 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.1991, allocations: 4 kB / 0.721 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.381e-05/0.1991, allocations: 11.92 kB / 0.721 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1993, allocations: 55.88 kB / 0.721 GB, free: 12.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1993, allocations: 0 / 0.721 GB, free: 12.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1993, allocations: 0 / 0.721 GB, free: 12.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.1993, allocations: 0 / 0.721 GB, free: 12.82 MB / 0.545 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.0004758/0.1998, allocations: 254.3 kB / 0.7213 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.1998, allocations: 8.031 kB / 0.7213 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/0.1999, allocations: 30.75 kB / 0.7213 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1999, allocations: 0.9375 kB / 0.7213 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.2, allocations: 106.5 kB / 0.7214 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2001, allocations: 4.375 kB / 0.7214 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.2001, allocations: 8.312 kB / 0.7214 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.2002, allocations: 37.81 kB / 0.7215 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2002, allocations: 0 / 0.7215 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2002, allocations: 3.938 kB / 0.7215 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2002, allocations: 0 / 0.7215 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.772e-05/0.2003, allocations: 0 / 0.7215 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.2005, allocations: 120.8 kB / 0.7216 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.456e-05/0.2005, allocations: 14.58 kB / 0.7216 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.2005, allocations: 8.891 kB / 0.7216 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004113/0.201, allocations: 51.95 kB / 0.7217 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.201, allocations: 38.5 kB / 0.7217 GB, free: 12.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 4.348e-06/0.201, allocations: 3.984 kB / 0.7217 GB, free: 12.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001762/0.2012, allocations: 33.7 kB / 0.7217 GB, free: 11.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.2012, allocations: 55.34 kB / 0.7218 GB, free: 11.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.2013, allocations: 89.86 kB / 0.7219 GB, free: 11.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2013, allocations: 25.7 kB / 0.7219 GB, free: 11.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.2014, allocations: 80.27 kB / 0.722 GB, free: 11.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.2014, allocations: 4 kB / 0.722 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.2014, allocations: 17.7 kB / 0.722 GB, free: 11.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.2017, allocations: 314.8 kB / 0.7223 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.2017, allocations: 3.938 kB / 0.7223 GB, free: 11.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-06/0.2017, allocations: 4 kB / 0.7223 GB, free: 11.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.2017, allocations: 4.859 kB / 0.7223 GB, free: 11.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2017, allocations: 0 / 0.7223 GB, free: 11.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.434e-05/0.2018, allocations: 33.7 kB / 0.7223 GB, free: 11.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2018, allocations: 7.938 kB / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2018, allocations: 8.078 kB / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2018, allocations: 0 / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.2019, allocations: 4 kB / 0.7224 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2019, allocations: 0 / 0.7224 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.2019, allocations: 0 / 0.7224 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.2019, allocations: 0 / 0.7224 GB, free: 11.28 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 9.528e-05/0.202, allocations: 120.8 kB / 0.7225 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.202, allocations: 3.938 kB / 0.7225 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.2022, allocations: 40.69 kB / 0.7225 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2022, allocations: 0 / 0.7225 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2022, allocations: 0 / 0.7225 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2022, allocations: 4 kB / 0.7225 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.2023, allocations: 116.8 kB / 0.7226 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2023, allocations: 0 / 0.7226 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.2023, allocations: 0 / 0.7226 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2023, allocations: 7.938 kB / 0.7226 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2023, allocations: 0 / 0.7226 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2023, allocations: 3.984 kB / 0.7226 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2023, allocations: 0 / 0.7226 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.53e-05/0.2024, allocations: 65.05 kB / 0.7227 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.2024, allocations: 7.875 kB / 0.7227 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2024, allocations: 4 kB / 0.7227 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.017e-05/0.2025, allocations: 0 / 0.7227 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.2025, allocations: 15.92 kB / 0.7227 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.2025, allocations: 0 / 0.7227 GB, free: 10.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.2025, allocations: 75.94 kB / 0.7228 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2025, allocations: 0 / 0.7228 GB, free: 10.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002145/0.2027, allocations: 8 kB / 0.7228 GB, free: 10.74 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.0005624/0.2033, allocations: 0.6162 MB / 0.7234 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.671e-05/0.2034, allocations: 4 kB / 0.7234 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.2034, allocations: 4 kB / 0.7234 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-06/0.2034, allocations: 3.984 kB / 0.7234 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.2035, allocations: 3.938 kB / 0.7234 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.2039, allocations: 110.6 kB / 0.7235 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.004e-05/0.204, allocations: 51.36 kB / 0.7236 GB, free: 9.855 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.204, allocations: 12.14 kB / 0.7236 GB, free: 9.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.204, allocations: 7.438 kB / 0.7236 GB, free: 9.836 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.204, allocations: 0 / 0.7236 GB, free: 9.836 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.2345, allocations: 1.628 MB / 0.7252 GB, free: 8.336 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.44, allocations: 5.875 kB / 0.7252 GB, free: 8.332 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.257922451011837] Failed to read output from testmodel.py, exit status != 0: 11.544836656190455 11.559715801 11.357430117 Calling exit ...