Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.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.001459/0.001459, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001435/0.001435, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.9214/0.9214, allocations: 145 MB / 453.8 MB, free: 0.707 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.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",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.001974/0.001974, allocations: 77.09 kB / 0.6281 GB, free: 10.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1735, allocations: 87.82 MB / 0.7138 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001645/0.1752, allocations: 0.572 MB / 0.7144 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004627/0.1756, allocations: 195.7 kB / 0.7146 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.1756, allocations: 4 kB / 0.7146 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1756, allocations: 0 / 0.7146 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.1757, allocations: 0 / 0.7146 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.176, allocations: 55.81 kB / 0.7146 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.418e-05/0.176, allocations: 0 / 0.7146 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.1761, allocations: 8 kB / 0.7147 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.145e-05/0.1761, allocations: 0 / 0.7147 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.883e-05/0.1761, allocations: 0 / 0.7147 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.1761, allocations: 0 / 0.7147 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.1763, allocations: 67.86 kB / 0.7147 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.522e-06/0.1763, allocations: 0 / 0.7147 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.1763, allocations: 3.938 kB / 0.7147 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1764, allocations: 40.16 kB / 0.7148 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1764, allocations: 0 / 0.7148 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1764, allocations: 0 / 0.7148 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1764, allocations: 0 / 0.7148 GB, free: 1.832 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.0003333/0.1768, allocations: 323.5 kB / 0.7151 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1768, allocations: 8.031 kB / 0.7151 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.1768, allocations: 34.69 kB / 0.7151 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.1769, allocations: 8.938 kB / 0.7151 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.177, allocations: 168.4 kB / 0.7153 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.177, allocations: 384 / 0.7153 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-06/0.177, allocations: 384 / 0.7153 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.999e-05/0.1771, allocations: 26.27 kB / 0.7153 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1771, allocations: 3.938 kB / 0.7153 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1771, allocations: 11.98 kB / 0.7153 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1771, allocations: 0 / 0.7153 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.539e-05/0.1771, allocations: 0 / 0.7153 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.1773, allocations: 141.7 kB / 0.7155 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.502e-05/0.1773, allocations: 26.55 kB / 0.7155 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.1773, allocations: 8.844 kB / 0.7155 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/0.1781, allocations: 453.5 kB / 0.7159 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.1781, allocations: 34.55 kB / 0.716 GB, free: 352 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.1782, allocations: 4 kB / 0.716 GB, free: 348 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.1783, allocations: 37.64 kB / 0.716 GB, free: 304 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.1783, allocations: 55.47 kB / 0.716 GB, free: 236 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.575e-05/0.1784, allocations: 97.8 kB / 0.7161 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1784, allocations: 25.7 kB / 0.7162 GB, free: 96 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.1784, allocations: 84.08 kB / 0.7162 GB, free: 8 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.1785, allocations: 0 / 0.7162 GB, free: 8 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.1785, allocations: 13.72 kB / 0.7163 GB, free: 15.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1786, allocations: 314.8 kB / 0.7166 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.1786, allocations: 3.984 kB / 0.7166 GB, free: 15.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.1787, allocations: 0 / 0.7166 GB, free: 15.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.1787, allocations: 12.92 kB / 0.7166 GB, free: 15.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1787, allocations: 0 / 0.7166 GB, free: 15.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.938e-05/0.1787, allocations: 33.64 kB / 0.7166 GB, free: 15.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.1788, allocations: 8 kB / 0.7166 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1788, allocations: 3.938 kB / 0.7166 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1788, allocations: 0 / 0.7166 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.573e-05/0.1788, allocations: 0 / 0.7166 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1788, allocations: 4 kB / 0.7166 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-06/0.1788, allocations: 0 / 0.7166 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1788, allocations: 8.016 kB / 0.7166 GB, free: 15.59 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.248e-05/0.1789, allocations: 105.8 kB / 0.7167 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.1789, allocations: 4 kB / 0.7167 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.711e-05/0.179, allocations: 36.77 kB / 0.7168 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.179, allocations: 0 / 0.7168 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.179, allocations: 4 kB / 0.7168 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.179, allocations: 0 / 0.7168 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.1791, allocations: 145.7 kB / 0.7169 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1791, allocations: 4.031 kB / 0.7169 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.1791, allocations: 3.938 kB / 0.7169 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1791, allocations: 4 kB / 0.7169 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1791, allocations: 3.938 kB / 0.7169 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1791, allocations: 0 / 0.7169 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1791, allocations: 4 kB / 0.7169 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.653e-05/0.1792, allocations: 57.12 kB / 0.717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1793, allocations: 81.05 kB / 0.7171 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.1793, allocations: 11.97 kB / 0.7171 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.1793, allocations: 0 / 0.7171 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.1793, allocations: 0 / 0.7171 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.1793, allocations: 0 / 0.7171 GB, free: 15.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.1793, allocations: 75.28 kB / 0.7171 GB, free: 14.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1793, allocations: 3.938 kB / 0.7171 GB, free: 14.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002019/0.1795, allocations: 12 kB / 0.7172 GB, free: 14.94 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.0004801/0.18, allocations: 0.6278 MB / 0.7178 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.642e-05/0.1801, allocations: 8 kB / 0.7178 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1801, allocations: 0 / 0.7178 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-06/0.1801, allocations: 8.094 kB / 0.7178 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.1802, allocations: 0 / 0.7178 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.1805, allocations: 114.5 kB / 0.7179 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1808, allocations: 0.669 MB / 0.7186 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.939e-06/0.1808, allocations: 0 / 0.7186 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.1808, allocations: 15.44 kB / 0.7186 GB, free: 13.4 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1808, allocations: 0 / 0.7186 GB, free: 13.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.2058, allocations: 1.17 MB / 0.7197 GB, free: 12.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.15, allocations: 10.48 kB / 0.7197 GB, free: 12.33 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1_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_Functions_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.846961239003576] Failed to read output from testmodel.py, exit status != 0: 8.214405286998954 8.228806819 8.049471719 Calling exit ...