Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.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.001247/0.001247, allocations: 107.2 kB / 16.45 MB, free: 6.508 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.001339/0.001339, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.447/1.447, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.9304/0.9304, allocations: 145 MB / 453.8 MB, free: 0.6914 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.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0",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.001944/0.001944, allocations: 65.72 kB / 0.628 GB, free: 10.6 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1825, allocations: 87.83 MB / 0.7138 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002713/0.1853, allocations: 1.447 MB / 0.7152 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005326/0.1858, allocations: 244.1 kB / 0.7154 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.1858, allocations: 0 / 0.7154 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.1858, allocations: 0 / 0.7154 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.1859, allocations: 11.92 kB / 0.7155 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.1862, allocations: 55.83 kB / 0.7155 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.1863, allocations: 27.92 kB / 0.7155 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/0.1864, allocations: 7.984 kB / 0.7155 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.1864, allocations: 8 kB / 0.7156 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.666e-05/0.1864, allocations: 7.922 kB / 0.7156 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.1864, allocations: 4 kB / 0.7156 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1866, allocations: 59.89 kB / 0.7156 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1866, allocations: 7.984 kB / 0.7156 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1866, allocations: 11.92 kB / 0.7156 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1868, allocations: 51.81 kB / 0.7157 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1868, allocations: 0 / 0.7157 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1868, allocations: 4 kB / 0.7157 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.1868, allocations: 3.938 kB / 0.7157 GB, free: 0.8203 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005505/0.1873, allocations: 343.4 kB / 0.716 GB, free: 444 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1874, allocations: 8.031 kB / 0.716 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.1874, allocations: 34.73 kB / 0.7161 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1875, allocations: 8.891 kB / 0.7161 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1876, allocations: 160.4 kB / 0.7162 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1876, allocations: 384 / 0.7162 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1876, allocations: 8.375 kB / 0.7162 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1878, allocations: 46.23 kB / 0.7163 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1878, allocations: 7.938 kB / 0.7163 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1879, allocations: 11.98 kB / 0.7163 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1879, allocations: 0 / 0.7163 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.188, allocations: 35.89 kB / 0.7163 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1884, allocations: 245 kB / 0.7166 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1886, allocations: 42.5 kB / 0.7166 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1887, allocations: 24.89 kB / 0.7166 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009026/0.1896, allocations: 453.5 kB / 0.7171 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.1896, allocations: 34.56 kB / 0.7171 GB, free: 15.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1896, allocations: 0 / 0.7171 GB, free: 15.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003882/0.19, allocations: 81.58 kB / 0.7172 GB, free: 15.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.19, allocations: 55.41 kB / 0.7172 GB, free: 14.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.1901, allocations: 102 kB / 0.7173 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1902, allocations: 25.7 kB / 0.7173 GB, free: 14.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.1902, allocations: 88.09 kB / 0.7174 GB, free: 14.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1902, allocations: 3.953 kB / 0.7174 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.1903, allocations: 17.66 kB / 0.7175 GB, free: 14.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1904, allocations: 318.8 kB / 0.7178 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.1905, allocations: 15.98 kB / 0.7178 GB, free: 14.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.1906, allocations: 19.98 kB / 0.7178 GB, free: 14.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.1907, allocations: 44.75 kB / 0.7178 GB, free: 14.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1908, allocations: 3.938 kB / 0.7178 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.191, allocations: 57.67 kB / 0.7179 GB, free: 14.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.191, allocations: 8 kB / 0.7179 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.191, allocations: 96 / 0.7179 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.191, allocations: 4 kB / 0.7179 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.1911, allocations: 11.92 kB / 0.7179 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1911, allocations: 4 kB / 0.7179 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.1911, allocations: 3.984 kB / 0.7179 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1911, allocations: 4 kB / 0.7179 GB, free: 14.21 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 (2): * Single equations (assignments): 2 * 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 0.0001024/0.1912, allocations: 113.8 kB / 0.718 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.1913, allocations: 0 / 0.718 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.1915, allocations: 80.66 kB / 0.7181 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1915, allocations: 0 / 0.7181 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1915, allocations: 0 / 0.7181 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1915, allocations: 0 / 0.7181 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.1918, allocations: 161.6 kB / 0.7183 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1918, allocations: 0 / 0.7183 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.1919, allocations: 11.98 kB / 0.7183 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1919, allocations: 0 / 0.7183 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1919, allocations: 0 / 0.7183 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1919, allocations: 4.031 kB / 0.7183 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1919, allocations: 0 / 0.7183 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1922, allocations: 171.3 kB / 0.7184 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.1922, allocations: 77.11 kB / 0.7185 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1922, allocations: 4 kB / 0.7185 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.1923, allocations: 16.02 kB / 0.7185 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.1924, allocations: 4 kB / 0.7185 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1924, allocations: 0 / 0.7185 GB, free: 13.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.1924, allocations: 79.28 kB / 0.7186 GB, free: 13.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1924, allocations: 0 / 0.7186 GB, free: 13.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002385/0.1927, allocations: 12 kB / 0.7186 GB, free: 13.39 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 (2): * Single equations (assignments): 2 * 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.0007058/0.1934, allocations: 0.7124 MB / 0.7193 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.1936, allocations: 47.92 kB / 0.7194 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1936, allocations: 0 / 0.7194 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.1937, allocations: 19.98 kB / 0.7194 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1939, allocations: 4.266 kB / 0.7194 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.1944, allocations: 143 kB / 0.7195 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1947, allocations: 0.6768 MB / 0.7202 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.1948, allocations: 128 / 0.7202 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.1948, allocations: 19.38 kB / 0.7202 GB, free: 11.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1948, allocations: 0 / 0.7202 GB, free: 11.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.2181, allocations: 1.524 MB / 0.7217 GB, free: 10.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.14, allocations: 6.656 kB / 0.7217 GB, free: 10.23 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.891889292004635] Failed to read output from testmodel.py, exit status != 0: 8.210820669992245 8.234147092 8.043093089 Calling exit ...