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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001579, allocations: 108.3 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9382/0.9382, allocations: 143.3 MB / 440.5 MB, free: 11.24 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.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 68.67 kB / 0.6039 GB, free: 11.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1734, allocations: 82.03 MB / 0.684 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00209/0.1755, allocations: 0.5831 MB / 0.6845 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1773, allocations: 1.264 MB / 0.6858 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.1774, allocations: 0 / 0.6858 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1774, allocations: 0 / 0.6858 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.1774, allocations: 0 / 0.6858 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1777, allocations: 63.75 kB / 0.6858 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.536e-05/0.1778, allocations: 0 / 0.6858 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.1778, allocations: 8 kB / 0.6858 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.251e-05/0.1778, allocations: 4 kB / 0.6858 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.1779, allocations: 0 / 0.6858 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.1779, allocations: 0 / 0.6858 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.1781, allocations: 99.83 kB / 0.6859 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.1782, allocations: 0 / 0.6859 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.1782, allocations: 3.984 kB / 0.6859 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1783, allocations: 52.16 kB / 0.686 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1783, allocations: 0 / 0.686 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1783, allocations: 3.938 kB / 0.686 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.1783, allocations: 4 kB / 0.686 GB, free: 7.562 MB / 0.5137 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.0004955/0.1788, allocations: 331.4 kB / 0.6863 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1789, allocations: 8.031 kB / 0.6863 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.1789, allocations: 34.75 kB / 0.6864 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.692e-05/0.179, allocations: 0.9375 kB / 0.6864 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1791, allocations: 160.4 kB / 0.6865 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1791, allocations: 384 / 0.6865 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.1791, allocations: 384 / 0.6865 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.1792, allocations: 37.77 kB / 0.6865 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1792, allocations: 0 / 0.6865 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1792, allocations: 3.984 kB / 0.6865 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1793, allocations: 7.984 kB / 0.6866 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.651e-05/0.1793, allocations: 0 / 0.6866 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.1794, allocations: 149.7 kB / 0.6867 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.63e-05/0.1795, allocations: 14.58 kB / 0.6867 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.1795, allocations: 4.859 kB / 0.6867 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.1803, allocations: 0.5701 MB / 0.6873 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1803, allocations: 34.5 kB / 0.6873 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.1803, allocations: 3.938 kB / 0.6873 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.1804, allocations: 29.7 kB / 0.6873 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1805, allocations: 55.39 kB / 0.6874 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.1805, allocations: 93.8 kB / 0.6875 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1806, allocations: 29.7 kB / 0.6875 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.1806, allocations: 84.27 kB / 0.6876 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1806, allocations: 7.938 kB / 0.6876 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.1807, allocations: 13.72 kB / 0.6876 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1808, allocations: 310.8 kB / 0.6879 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.1808, allocations: 4 kB / 0.6879 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.1808, allocations: 0 / 0.6879 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.1809, allocations: 12.8 kB / 0.6879 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1809, allocations: 64 / 0.6879 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.319e-05/0.181, allocations: 37.69 kB / 0.688 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.181, allocations: 11.94 kB / 0.688 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.181, allocations: 3.938 kB / 0.688 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.181, allocations: 0 / 0.688 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.646e-05/0.181, allocations: 0 / 0.688 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1811, allocations: 0 / 0.688 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.1811, allocations: 4 kB / 0.688 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.1811, allocations: 4 kB / 0.688 GB, free: 5.168 MB / 0.5137 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 6.933e-05/0.1812, allocations: 109.9 kB / 0.6881 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-06/0.1812, allocations: 3.938 kB / 0.6881 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.884e-05/0.1813, allocations: 40.75 kB / 0.6881 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1813, allocations: 8 kB / 0.6881 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1813, allocations: 0 / 0.6881 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.1813, allocations: 0 / 0.6881 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.1814, allocations: 145.7 kB / 0.6883 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1814, allocations: 3.984 kB / 0.6883 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.1814, allocations: 4.031 kB / 0.6883 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1814, allocations: 7.938 kB / 0.6883 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1814, allocations: 0 / 0.6883 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1814, allocations: 0 / 0.6883 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1815, allocations: 0 / 0.6883 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.547e-05/0.1815, allocations: 57.08 kB / 0.6883 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.1816, allocations: 89.03 kB / 0.6884 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.1817, allocations: 0 / 0.6884 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.951e-05/0.1817, allocations: 4.031 kB / 0.6884 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.1818, allocations: 0 / 0.6884 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.1818, allocations: 0 / 0.6884 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.1818, allocations: 79.28 kB / 0.6885 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1818, allocations: 0 / 0.6885 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001788/0.182, allocations: 7.938 kB / 0.6885 GB, free: 4.52 MB / 0.5137 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.0004257/0.1824, allocations: 0.6046 MB / 0.6891 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.3e-05/0.1825, allocations: 7.938 kB / 0.6891 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1825, allocations: 4 kB / 0.6891 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-06/0.1826, allocations: 0 / 0.6891 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1827, allocations: 6.328 kB / 0.6891 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.183, allocations: 110.5 kB / 0.6892 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.1834, allocations: 0.6808 MB / 0.6899 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.77e-05/0.1834, allocations: 3.984 kB / 0.6899 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.1834, allocations: 11.42 kB / 0.6899 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1834, allocations: 0 / 0.6899 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.2059, allocations: 1.043 MB / 0.6909 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.104, allocations: 7.781 kB / 0.6909 GB, free: 2.066 MB / 0.5137 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.83467309793923] Failed to read output from testmodel.py, exit status != 0: 8.17159028397873 8.199624021 8.016673522 Calling exit ...