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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 198.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 1.01/1.01, allocations: 143 MB / 433.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 71.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1705, allocations: 82.03 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002957/0.1735, allocations: 1.428 MB / 0.5958 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005283/0.1741, allocations: 244.1 kB / 0.596 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.1741, allocations: 0 / 0.596 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.1742, allocations: 0 / 0.596 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.1742, allocations: 7.938 kB / 0.596 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.1746, allocations: 55.81 kB / 0.5961 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.217e-05/0.1747, allocations: 16 kB / 0.5961 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.1748, allocations: 11.92 kB / 0.5961 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.359e-05/0.1748, allocations: 11.94 kB / 0.5961 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.1749, allocations: 7.984 kB / 0.5961 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1749, allocations: 4 kB / 0.5961 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.175, allocations: 55.94 kB / 0.5962 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.1751, allocations: 15.86 kB / 0.5962 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.1751, allocations: 8 kB / 0.5962 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1752, allocations: 51.86 kB / 0.5963 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1753, allocations: 0 / 0.5963 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.209e-05/0.1753, allocations: 4 kB / 0.5963 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1753, allocations: 3.938 kB / 0.5963 GB, free: 7.551 MB / 0.4981 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.0004907/0.1758, allocations: 347.7 kB / 0.5966 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1758, allocations: 8.031 kB / 0.5966 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.1759, allocations: 34.73 kB / 0.5966 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.1759, allocations: 0.9375 kB / 0.5966 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.176, allocations: 172.4 kB / 0.5968 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.176, allocations: 384 / 0.5968 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.176, allocations: 384 / 0.5968 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1762, allocations: 50.23 kB / 0.5968 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1762, allocations: 3.938 kB / 0.5968 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1763, allocations: 0 / 0.5968 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1763, allocations: 4 kB / 0.5969 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.1764, allocations: 35.89 kB / 0.5969 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.1767, allocations: 248.9 kB / 0.5971 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1769, allocations: 38.5 kB / 0.5972 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.965e-05/0.177, allocations: 28.89 kB / 0.5972 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/0.1776, allocations: 453.4 kB / 0.5976 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1777, allocations: 34.56 kB / 0.5977 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1777, allocations: 0 / 0.5977 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003484/0.178, allocations: 85.67 kB / 0.5977 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1781, allocations: 51.41 kB / 0.5978 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.1782, allocations: 109.8 kB / 0.5979 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1782, allocations: 25.7 kB / 0.5979 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1783, allocations: 80.14 kB / 0.598 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1783, allocations: 3.906 kB / 0.598 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.1783, allocations: 17.72 kB / 0.598 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1785, allocations: 314.8 kB / 0.5983 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.1786, allocations: 16.02 kB / 0.5983 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.1786, allocations: 19.98 kB / 0.5983 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1788, allocations: 40.77 kB / 0.5984 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1788, allocations: 3.938 kB / 0.5984 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.179, allocations: 65.72 kB / 0.5985 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.179, allocations: 8 kB / 0.5985 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.179, allocations: 0 / 0.5985 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1791, allocations: 0 / 0.5985 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.1791, allocations: 7.984 kB / 0.5985 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1792, allocations: 3.984 kB / 0.5985 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.1792, allocations: 11.92 kB / 0.5985 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1792, allocations: 4 kB / 0.5985 GB, free: 4.941 MB / 0.4981 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.382e-05/0.1793, allocations: 117.8 kB / 0.5986 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1793, allocations: 0 / 0.5986 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.1796, allocations: 76.72 kB / 0.5987 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1796, allocations: 4 kB / 0.5987 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1796, allocations: 0 / 0.5987 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1796, allocations: 0 / 0.5987 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1798, allocations: 169.4 kB / 0.5988 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1798, allocations: 0 / 0.5988 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.1798, allocations: 16.02 kB / 0.5989 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1798, allocations: 0 / 0.5989 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1799, allocations: 0 / 0.5989 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1799, allocations: 0 / 0.5989 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1799, allocations: 0 / 0.5989 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1801, allocations: 171.4 kB / 0.599 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.1802, allocations: 77.11 kB / 0.5991 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.1802, allocations: 8 kB / 0.5991 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.1803, allocations: 3.984 kB / 0.5991 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.1803, allocations: 4 kB / 0.5991 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1803, allocations: 0 / 0.5991 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.1803, allocations: 79.28 kB / 0.5992 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1804, allocations: 0 / 0.5992 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002397/0.1806, allocations: 12 kB / 0.5992 GB, free: 4.121 MB / 0.4981 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.0006169/0.1812, allocations: 0.7203 MB / 0.5999 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1815, allocations: 51.92 kB / 0.5999 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1815, allocations: 0 / 0.5999 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.1816, allocations: 15.98 kB / 0.6 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1818, allocations: 6.438 kB / 0.6 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.1822, allocations: 147.2 kB / 0.6001 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1825, allocations: 0.6768 MB / 0.6008 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.075e-05/0.1825, allocations: 0 / 0.6008 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.1826, allocations: 7.438 kB / 0.6008 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1826, allocations: 0 / 0.6008 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.203, allocations: 1.49 MB / 0.6022 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.745, allocations: 8.531 kB / 0.6022 GB, free: 0.9727 MB / 0.4981 GB (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)