Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001304/0.001304, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00152/0.00152, allocations: 213.3 kB / 22.25 MB, free: 5.082 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 8.035 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.9071/0.9071, allocations: 145 MB / 457.4 MB, free: 15.52 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.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.00203/0.00203, allocations: 74.38 kB / 0.6332 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1761, allocations: 87.88 MB / 0.719 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002699/0.1788, allocations: 1.454 MB / 0.7204 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005618/0.1793, allocations: 252.1 kB / 0.7207 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.1794, allocations: 0 / 0.7207 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.1794, allocations: 3.938 kB / 0.7207 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.1794, allocations: 3.984 kB / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.1798, allocations: 59.83 kB / 0.7207 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.1798, allocations: 23.86 kB / 0.7207 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.1799, allocations: 8 kB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.619e-05/0.18, allocations: 7.984 kB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.18, allocations: 11.92 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.18, allocations: 4 kB / 0.7208 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.1802, allocations: 67.88 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.1802, allocations: 7.984 kB / 0.7209 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.1802, allocations: 7.938 kB / 0.7209 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1803, allocations: 55.8 kB / 0.7209 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1803, allocations: 0 / 0.7209 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.745e-06/0.1804, allocations: 3.938 kB / 0.7209 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1804, allocations: 0 / 0.7209 GB, free: 13.46 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.000443/0.1808, allocations: 270.2 kB / 0.7212 GB, free: 13.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1808, allocations: 12.03 kB / 0.7212 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.1809, allocations: 34.75 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.1809, allocations: 8.875 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.181, allocations: 110.5 kB / 0.7213 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.181, allocations: 4.375 kB / 0.7213 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.181, allocations: 4.375 kB / 0.7213 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1812, allocations: 53.98 kB / 0.7214 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.1812, allocations: 0 / 0.7214 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1812, allocations: 0 / 0.7214 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1812, allocations: 0 / 0.7214 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1814, allocations: 39.91 kB / 0.7214 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.1817, allocations: 220 kB / 0.7216 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.1818, allocations: 34.56 kB / 0.7217 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.238e-05/0.1819, allocations: 20.91 kB / 0.7217 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.1825, allocations: 79.91 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1825, allocations: 34.56 kB / 0.7218 GB, free: 12.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1825, allocations: 0 / 0.7218 GB, free: 12.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003476/0.1829, allocations: 85.58 kB / 0.7219 GB, free: 12.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.1829, allocations: 55.41 kB / 0.7219 GB, free: 12.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.183, allocations: 101.8 kB / 0.722 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.183, allocations: 25.7 kB / 0.7221 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.1831, allocations: 88.03 kB / 0.7221 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.1831, allocations: 7.953 kB / 0.7221 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.1831, allocations: 17.84 kB / 0.7222 GB, free: 12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1832, allocations: 310.8 kB / 0.7225 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/0.1833, allocations: 23.97 kB / 0.7225 GB, free: 11.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.1834, allocations: 11.98 kB / 0.7225 GB, free: 11.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1835, allocations: 44.7 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1835, allocations: 4.062 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001783/0.1837, allocations: 61.66 kB / 0.7226 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1837, allocations: 8 kB / 0.7226 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1837, allocations: 192 / 0.7226 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1837, allocations: 0 / 0.7226 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.1838, allocations: 11.98 kB / 0.7226 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1838, allocations: 7.938 kB / 0.7226 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.1839, allocations: 12 kB / 0.7226 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1839, allocations: 4 kB / 0.7226 GB, free: 11.5 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 7.995e-05/0.184, allocations: 113.7 kB / 0.7228 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.184, allocations: 0 / 0.7228 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.1842, allocations: 76.91 kB / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1842, allocations: 0 / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1842, allocations: 0 / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1842, allocations: 4.031 kB / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1844, allocations: 136.7 kB / 0.723 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1844, allocations: 0 / 0.723 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.015e-05/0.1844, allocations: 8 kB / 0.723 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1844, allocations: 0 / 0.723 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1844, allocations: 0 / 0.723 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1844, allocations: 0 / 0.723 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.1844, allocations: 3.984 kB / 0.723 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1847, allocations: 171.4 kB / 0.7231 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-06/0.1847, allocations: 7.984 kB / 0.7231 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1847, allocations: 4 kB / 0.7231 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1848, allocations: 4 kB / 0.7231 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1848, allocations: 3.984 kB / 0.7232 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1848, allocations: 0 / 0.7232 GB, free: 10.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.1848, allocations: 83.28 kB / 0.7232 GB, free: 10.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1848, allocations: 4.031 kB / 0.7232 GB, free: 10.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002309/0.1851, allocations: 19.94 kB / 0.7233 GB, free: 10.79 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.0006213/0.1857, allocations: 0.7046 MB / 0.7239 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.1859, allocations: 39.89 kB / 0.724 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1859, allocations: 0 / 0.724 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.186, allocations: 15.98 kB / 0.724 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1862, allocations: 8.125 kB / 0.724 GB, free: 9.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.1866, allocations: 143.1 kB / 0.7241 GB, free: 9.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1869, allocations: 0.6768 MB / 0.7248 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.801e-05/0.1869, allocations: 0 / 0.7248 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.187, allocations: 7.438 kB / 0.7248 GB, free: 9.105 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.187, allocations: 3.938 kB / 0.7248 GB, free: 9.102 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.2137, allocations: 1.634 MB / 0.7264 GB, free: 7.605 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.91, allocations: 8.75 kB / 0.7264 GB, free: 7.598 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.631028428997524] Failed to read output from testmodel.py, exit status != 0: 11.014279515999078 11.030083804 10.846711006 Calling exit ...