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.001288/0.001288, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001516/0.001516, allocations: 222.5 kB / 22.25 MB, free: 5.109 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.812 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.9802/0.9802, allocations: 145 MB / 457.4 MB, free: 15.34 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.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.00227/0.00227, allocations: 68.73 kB / 0.6331 GB, free: 6.793 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1722, allocations: 87.9 MB / 0.7189 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002982/0.1752, allocations: 1.443 MB / 0.7203 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006092/0.1758, allocations: 228.1 kB / 0.7206 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.1758, allocations: 3.938 kB / 0.7206 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.1759, allocations: 4 kB / 0.7206 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.1759, allocations: 3.938 kB / 0.7206 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1763, allocations: 59.81 kB / 0.7206 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.1764, allocations: 19.98 kB / 0.7206 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.1765, allocations: 4 kB / 0.7206 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.841e-05/0.1765, allocations: 19.86 kB / 0.7207 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.543e-05/0.1766, allocations: 4 kB / 0.7207 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1766, allocations: 0 / 0.7207 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.1767, allocations: 59.94 kB / 0.7207 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.1767, allocations: 7.984 kB / 0.7207 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1768, allocations: 11.94 kB / 0.7207 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1769, allocations: 51.75 kB / 0.7208 GB, free: 12.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1769, allocations: 3.984 kB / 0.7208 GB, free: 12.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1769, allocations: 0 / 0.7208 GB, free: 12.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.1769, allocations: 0 / 0.7208 GB, free: 12.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004597/0.1774, allocations: 262.3 kB / 0.721 GB, free: 12.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1774, allocations: 12.03 kB / 0.7211 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.1775, allocations: 30.75 kB / 0.7211 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.1775, allocations: 8.891 kB / 0.7211 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1776, allocations: 114.5 kB / 0.7212 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1776, allocations: 4.375 kB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1776, allocations: 384 / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1778, allocations: 54.23 kB / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1778, allocations: 3.938 kB / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1779, allocations: 0 / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1779, allocations: 4 kB / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.178, allocations: 43.89 kB / 0.7213 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.1784, allocations: 208 kB / 0.7215 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1785, allocations: 42.53 kB / 0.7215 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.637e-05/0.1786, allocations: 20.91 kB / 0.7216 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005146/0.1791, allocations: 71.92 kB / 0.7216 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.1791, allocations: 38.5 kB / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1791, allocations: 0 / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003523/0.1795, allocations: 77.64 kB / 0.7217 GB, free: 11.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1795, allocations: 55.41 kB / 0.7218 GB, free: 11.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.331e-05/0.1796, allocations: 101.8 kB / 0.7219 GB, free: 11.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1796, allocations: 25.7 kB / 0.7219 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.1797, allocations: 92.16 kB / 0.722 GB, free: 11.56 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.1797, allocations: 7.953 kB / 0.722 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.1797, allocations: 13.72 kB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1799, allocations: 318.8 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/0.18, allocations: 15.92 kB / 0.7224 GB, free: 11.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.18, allocations: 15.98 kB / 0.7224 GB, free: 11.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1802, allocations: 44.81 kB / 0.7224 GB, free: 11.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1802, allocations: 7.938 kB / 0.7224 GB, free: 11.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.1804, allocations: 61.67 kB / 0.7225 GB, free: 11.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1804, allocations: 6.344 kB / 0.7225 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1804, allocations: 0 / 0.7225 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1804, allocations: 3.984 kB / 0.7225 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.1805, allocations: 8 kB / 0.7225 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1805, allocations: 0 / 0.7225 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.1806, allocations: 12.02 kB / 0.7225 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1806, allocations: 4 kB / 0.7225 GB, free: 11.03 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 8.367e-05/0.1806, allocations: 113.8 kB / 0.7226 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1807, allocations: 0 / 0.7226 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.1809, allocations: 72.91 kB / 0.7227 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1809, allocations: 0 / 0.7227 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1809, allocations: 4 kB / 0.7227 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.1809, allocations: 4.172 kB / 0.7227 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1811, allocations: 124.7 kB / 0.7228 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1811, allocations: 0 / 0.7228 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.1811, allocations: 15.97 kB / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1811, allocations: 4 kB / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.1811, allocations: 0 / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1811, allocations: 0 / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1811, allocations: 0 / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1814, allocations: 167.3 kB / 0.723 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.1814, allocations: 0 / 0.723 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1814, allocations: 8.031 kB / 0.723 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.1815, allocations: 11.98 kB / 0.723 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1815, allocations: 0 / 0.723 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1815, allocations: 4 kB / 0.723 GB, free: 10.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.1816, allocations: 83.27 kB / 0.7231 GB, free: 10.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1816, allocations: 3.938 kB / 0.7231 GB, free: 10.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000234/0.1818, allocations: 15.94 kB / 0.7231 GB, free: 10.33 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.0006699/0.1825, allocations: 0.7201 MB / 0.7238 GB, free: 9.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1827, allocations: 35.97 kB / 0.7238 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1827, allocations: 4 kB / 0.7239 GB, free: 9.543 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.1828, allocations: 20.06 kB / 0.7239 GB, free: 9.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.183, allocations: 7.938 kB / 0.7239 GB, free: 9.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.1834, allocations: 143.1 kB / 0.724 GB, free: 9.336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.876e-05/0.1835, allocations: 59.34 kB / 0.7241 GB, free: 9.258 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.1835, allocations: 4 kB / 0.7241 GB, free: 9.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.1836, allocations: 7.438 kB / 0.7241 GB, free: 9.246 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.1836, allocations: 3.938 kB / 0.7241 GB, free: 9.242 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.2148, allocations: 2.052 MB / 0.7261 GB, free: 7.332 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.27, allocations: 12 kB / 0.7261 GB, free: 7.32 MB / 0.545 GB " [Timeout remaining time 649] (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: 15.231645319145173] Failed to read output from testmodel.py, exit status != 0: 11.382215494755656 11.408350595 11.226681793 Calling exit ...