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.001307/0.001307, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001353/0.001353, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.9517/0.9517, allocations: 145 MB / 453.8 MB, free: 1.066 MB / 350.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.001953/0.001953, allocations: 66.33 kB / 0.6281 GB, free: 10.72 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1698, allocations: 87.84 MB / 0.7138 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001645/0.1714, allocations: 0.5826 MB / 0.7144 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1732, allocations: 1.338 MB / 0.7157 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.1732, allocations: 0 / 0.7157 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.104e-05/0.1732, allocations: 0 / 0.7157 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.1732, allocations: 4 kB / 0.7157 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.1736, allocations: 71.75 kB / 0.7158 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.395e-05/0.1736, allocations: 4 kB / 0.7158 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.1736, allocations: 0 / 0.7158 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.1737, allocations: 3.938 kB / 0.7158 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.272e-05/0.1737, allocations: 0 / 0.7158 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.1737, allocations: 4 kB / 0.7158 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.174, allocations: 115.8 kB / 0.7159 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.973e-06/0.174, allocations: 0 / 0.7159 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.174, allocations: 3.984 kB / 0.7159 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1741, allocations: 64.14 kB / 0.716 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1742, allocations: 4 kB / 0.716 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1742, allocations: 0 / 0.716 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.1742, allocations: 4 kB / 0.716 GB, free: 0.6758 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.0003252/0.1745, allocations: 327.3 kB / 0.7163 GB, free: 316 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1745, allocations: 12.03 kB / 0.7163 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.1746, allocations: 30.75 kB / 0.7163 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.864e-05/0.1746, allocations: 0.9375 kB / 0.7163 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1747, allocations: 160.4 kB / 0.7165 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1747, allocations: 4.375 kB / 0.7165 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.1747, allocations: 384 / 0.7165 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.77e-05/0.1748, allocations: 41.77 kB / 0.7165 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1748, allocations: 0 / 0.7165 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.1748, allocations: 3.984 kB / 0.7165 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1748, allocations: 0 / 0.7165 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.946e-05/0.1748, allocations: 3.938 kB / 0.7165 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.175, allocations: 145.7 kB / 0.7167 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.175, allocations: 18.58 kB / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.175, allocations: 4.859 kB / 0.7167 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006144/0.1757, allocations: 0.5662 MB / 0.7173 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1757, allocations: 34.5 kB / 0.7173 GB, free: 15.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1757, allocations: 0 / 0.7173 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.1758, allocations: 45.62 kB / 0.7173 GB, free: 14.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1759, allocations: 51.41 kB / 0.7174 GB, free: 14.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.562e-05/0.1759, allocations: 93.86 kB / 0.7175 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.176, allocations: 25.7 kB / 0.7175 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.176, allocations: 80.14 kB / 0.7176 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.176, allocations: 3.938 kB / 0.7176 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.176, allocations: 9.719 kB / 0.7176 GB, free: 14.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1762, allocations: 314.8 kB / 0.7179 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.1762, allocations: 4.125 kB / 0.7179 GB, free: 14.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-06/0.1762, allocations: 0 / 0.7179 GB, free: 14.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.1762, allocations: 12.86 kB / 0.7179 GB, free: 14.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1762, allocations: 0 / 0.7179 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.021e-05/0.1763, allocations: 41.62 kB / 0.7179 GB, free: 14.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1763, allocations: 11.94 kB / 0.718 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1763, allocations: 0 / 0.718 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1763, allocations: 0 / 0.718 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.463e-05/0.1764, allocations: 0 / 0.718 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1764, allocations: 4.094 kB / 0.718 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.355e-05/0.1764, allocations: 4 kB / 0.718 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1764, allocations: 0 / 0.718 GB, free: 14.29 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.943e-05/0.1765, allocations: 105.8 kB / 0.7181 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.1765, allocations: 3.938 kB / 0.7181 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.344e-05/0.1766, allocations: 48.75 kB / 0.7181 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1766, allocations: 4.031 kB / 0.7181 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1766, allocations: 0 / 0.7181 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.1766, allocations: 3.938 kB / 0.7181 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.1767, allocations: 145.7 kB / 0.7183 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1767, allocations: 0 / 0.7183 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/0.1767, allocations: 4 kB / 0.7183 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1767, allocations: 3.938 kB / 0.7183 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.1767, allocations: 0 / 0.7183 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1767, allocations: 0 / 0.7183 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1767, allocations: 0 / 0.7183 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.12e-05/0.1768, allocations: 61.14 kB / 0.7183 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.1768, allocations: 89.02 kB / 0.7184 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.1768, allocations: 0 / 0.7184 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-06/0.1769, allocations: 0 / 0.7184 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.1769, allocations: 3.938 kB / 0.7184 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1769, allocations: 4 kB / 0.7184 GB, free: 13.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.187e-05/0.1769, allocations: 76.08 kB / 0.7185 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1769, allocations: 0 / 0.7185 GB, free: 13.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001945/0.1771, allocations: 15.97 kB / 0.7185 GB, free: 13.63 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.0004428/0.1775, allocations: 0.6124 MB / 0.7191 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.1776, allocations: 4 kB / 0.7191 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1776, allocations: 0 / 0.7191 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.584e-06/0.1776, allocations: 11.97 kB / 0.7191 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.1778, allocations: 4 kB / 0.7191 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.178, allocations: 114.5 kB / 0.7192 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1783, allocations: 0.669 MB / 0.7199 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.1783, allocations: 4 kB / 0.7199 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.1784, allocations: 11.44 kB / 0.7199 GB, free: 12.1 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1784, allocations: 0 / 0.7199 GB, free: 12.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.2012, allocations: 1.152 MB / 0.721 GB, free: 11.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.024, allocations: 6.5 kB / 0.721 GB, free: 11.06 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.800864958990132] Failed to read output from testmodel.py, exit status != 0: 8.094160254011513 8.119046745 7.93992788 Calling exit ...