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.00129/0.00129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 193.2 kB / 16.13 MB, free: 6.656 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.605 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 0.9581/0.9581, allocations: 143 MB / 433 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001184, allocations: 60.09 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.18, allocations: 82.03 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002716/0.1827, allocations: 1.494 MB / 0.5952 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005452/0.1833, allocations: 252.1 kB / 0.5954 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.1833, allocations: 4 kB / 0.5954 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.1834, allocations: 0 / 0.5954 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.686e-05/0.1834, allocations: 3.984 kB / 0.5954 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1837, allocations: 47.91 kB / 0.5955 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.1838, allocations: 19.92 kB / 0.5955 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.1839, allocations: 8 kB / 0.5955 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.1839, allocations: 11.92 kB / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.145e-05/0.184, allocations: 4 kB / 0.5955 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.184, allocations: 7.984 kB / 0.5955 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1841, allocations: 63.88 kB / 0.5956 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.1842, allocations: 3.938 kB / 0.5956 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.1842, allocations: 8 kB / 0.5956 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1843, allocations: 63.78 kB / 0.5957 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1843, allocations: 0 / 0.5957 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1843, allocations: 0 / 0.5957 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.1844, allocations: 0 / 0.5957 GB, free: 7.98 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.0005345/0.1849, allocations: 347.7 kB / 0.596 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1849, allocations: 12.03 kB / 0.596 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.185, allocations: 30.75 kB / 0.596 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.185, allocations: 0.9375 kB / 0.596 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1851, allocations: 168.4 kB / 0.5962 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1851, allocations: 4.375 kB / 0.5962 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1852, allocations: 4.375 kB / 0.5962 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1853, allocations: 50.17 kB / 0.5962 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.1854, allocations: 3.938 kB / 0.5962 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1854, allocations: 4 kB / 0.5962 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1854, allocations: 0 / 0.5962 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1855, allocations: 35.91 kB / 0.5963 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.1859, allocations: 256.9 kB / 0.5965 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.186, allocations: 38.5 kB / 0.5966 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.1861, allocations: 20.84 kB / 0.5966 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.1868, allocations: 461.5 kB / 0.597 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1868, allocations: 34.5 kB / 0.5971 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1868, allocations: 0 / 0.5971 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003454/0.1871, allocations: 81.64 kB / 0.5971 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.1872, allocations: 55.53 kB / 0.5972 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.1873, allocations: 93.86 kB / 0.5973 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1873, allocations: 33.7 kB / 0.5973 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.1873, allocations: 84.12 kB / 0.5974 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.1873, allocations: 3.906 kB / 0.5974 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1874, allocations: 13.72 kB / 0.5974 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1875, allocations: 314.8 kB / 0.5977 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.1876, allocations: 15.98 kB / 0.5977 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/0.1877, allocations: 27.97 kB / 0.5977 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.1879, allocations: 36.77 kB / 0.5978 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1879, allocations: 3.938 kB / 0.5978 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001826/0.1881, allocations: 69.72 kB / 0.5979 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1881, allocations: 4 kB / 0.5979 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1881, allocations: 0 / 0.5979 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1881, allocations: 0 / 0.5979 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.1882, allocations: 11.98 kB / 0.5979 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1882, allocations: 0 / 0.5979 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.1883, allocations: 4 kB / 0.5979 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1883, allocations: 0 / 0.5979 GB, free: 5.375 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.491e-05/0.1884, allocations: 121.8 kB / 0.598 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1884, allocations: 4 kB / 0.598 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.1886, allocations: 68.72 kB / 0.5981 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1886, allocations: 0 / 0.5981 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1886, allocations: 4 kB / 0.5981 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1886, allocations: 0 / 0.5981 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.1888, allocations: 165.5 kB / 0.5982 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1888, allocations: 0 / 0.5982 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.1889, allocations: 12.02 kB / 0.5982 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1889, allocations: 4 kB / 0.5982 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1889, allocations: 4 kB / 0.5982 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1889, allocations: 3.938 kB / 0.5982 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1889, allocations: 3.938 kB / 0.5982 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.1891, allocations: 163.4 kB / 0.5984 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.1892, allocations: 81.14 kB / 0.5985 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1892, allocations: 3.984 kB / 0.5985 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1893, allocations: 4 kB / 0.5985 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.1893, allocations: 7.984 kB / 0.5985 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1893, allocations: 4 kB / 0.5985 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.629e-05/0.1894, allocations: 75.28 kB / 0.5986 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1894, allocations: 4 kB / 0.5986 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002239/0.1896, allocations: 12 kB / 0.5986 GB, free: 4.547 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.000594/0.1902, allocations: 0.7163 MB / 0.5993 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1904, allocations: 39.94 kB / 0.5993 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1904, allocations: 0 / 0.5993 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.1905, allocations: 23.97 kB / 0.5993 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1907, allocations: 5.406 kB / 0.5994 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.1912, allocations: 141 kB / 0.5995 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1915, allocations: 0.677 MB / 0.6001 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.1916, allocations: 3.984 kB / 0.6002 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.1916, allocations: 11.44 kB / 0.6002 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1916, allocations: 3.938 kB / 0.6002 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.2031, allocations: 1.329 MB / 0.6015 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.2033, allocations: 191.4 kB / 0.6016 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/1.85, allocations: 0 / 0.6016 GB, free: 1.355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)