Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.0007622/0.0007623, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008171/0.0008172, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.057/1.057, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1819, allocations: 83.42 MB / 0.5976 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007941/0.1828, allocations: 315 kB / 0.5979 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004718/0.1833, allocations: 167.7 kB / 0.598 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.144e-05/0.1833, allocations: 4 kB / 0.598 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.1833, allocations: 0 / 0.598 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.1833, allocations: 0 / 0.598 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1837, allocations: 39.91 kB / 0.5981 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.955e-05/0.1837, allocations: 0 / 0.5981 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.1838, allocations: 0 / 0.5981 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.336e-05/0.1838, allocations: 0 / 0.5981 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.398e-05/0.1838, allocations: 0 / 0.5981 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.1839, allocations: 4 kB / 0.5981 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1841, allocations: 63.81 kB / 0.5981 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.1841, allocations: 11.98 kB / 0.5981 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.1841, allocations: 33.58 kB / 0.5982 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.416e-05/0.1842, allocations: 15.97 kB / 0.5982 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1842, allocations: 0 / 0.5982 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1842, allocations: 0 / 0.5982 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1842, allocations: 0 / 0.5982 GB, free: 7.07 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002899/0.1845, allocations: 319.4 kB / 0.5985 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1846, allocations: 8.031 kB / 0.5985 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.1846, allocations: 34.56 kB / 0.5985 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.1847, allocations: 0 / 0.5985 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1848, allocations: 171 kB / 0.5987 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1848, allocations: 0 / 0.5987 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-06/0.1848, allocations: 0 / 0.5987 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.082e-05/0.1849, allocations: 25.7 kB / 0.5987 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1849, allocations: 4 kB / 0.5987 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1849, allocations: 0 / 0.5987 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1849, allocations: 0 / 0.5987 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.185, allocations: 7.922 kB / 0.5987 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.1851, allocations: 149.6 kB / 0.5989 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.634e-05/0.1852, allocations: 26.59 kB / 0.5989 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.1852, allocations: 4.859 kB / 0.5989 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008114/0.186, allocations: 453.5 kB / 0.5993 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1861, allocations: 34.56 kB / 0.5994 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1861, allocations: 0 / 0.5994 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.1862, allocations: 37.62 kB / 0.5994 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.1863, allocations: 55.41 kB / 0.5995 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.1863, allocations: 89.86 kB / 0.5995 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1864, allocations: 25.7 kB / 0.5996 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.1864, allocations: 80.14 kB / 0.5996 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1864, allocations: 7.906 kB / 0.5996 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-06/0.1864, allocations: 128 / 0.5996 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1865, allocations: 318.8 kB / 0.5999 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-06/0.1866, allocations: 0 / 0.5999 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-06/0.1866, allocations: 4 kB / 0.6 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.81e-05/0.1866, allocations: 0 / 0.6 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1866, allocations: 3.938 kB / 0.6 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.711e-05/0.1867, allocations: 37.62 kB / 0.6 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1867, allocations: 8 kB / 0.6 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1867, allocations: 0 / 0.6 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1867, allocations: 4.094 kB / 0.6 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.1868, allocations: 0 / 0.6 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1868, allocations: 3.938 kB / 0.6 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.1868, allocations: 0 / 0.6 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1868, allocations: 8 kB / 0.6 GB, free: 4.871 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.1869, allocations: 113.8 kB / 0.6001 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-06/0.1869, allocations: 0 / 0.6001 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.911e-05/0.187, allocations: 40.8 kB / 0.6002 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.187, allocations: 4.031 kB / 0.6002 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.187, allocations: 0 / 0.6002 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.187, allocations: 4 kB / 0.6002 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.1871, allocations: 149.6 kB / 0.6003 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1871, allocations: 7.922 kB / 0.6003 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.1871, allocations: 0 / 0.6003 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1872, allocations: 0 / 0.6003 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1872, allocations: 4 kB / 0.6003 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1872, allocations: 0 / 0.6003 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1872, allocations: 0 / 0.6003 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.448e-05/0.1873, allocations: 57.14 kB / 0.6004 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.1873, allocations: 85.05 kB / 0.6005 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1873, allocations: 4 kB / 0.6005 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-06/0.1873, allocations: 0 / 0.6005 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.1874, allocations: 0 / 0.6005 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1874, allocations: 0 / 0.6005 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.1874, allocations: 75.28 kB / 0.6005 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1874, allocations: 0 / 0.6005 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002147/0.1876, allocations: 16.03 kB / 0.6006 GB, free: 4.223 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004917/0.1881, allocations: 0.6166 MB / 0.6012 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.872e-05/0.1882, allocations: 12.02 kB / 0.6012 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1882, allocations: 0 / 0.6012 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.934e-06/0.1882, allocations: 0 / 0.6012 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1884, allocations: 7.938 kB / 0.6012 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.1887, allocations: 104.4 kB / 0.6013 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.189, allocations: 0.6731 MB / 0.6019 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.43e-05/0.189, allocations: 0 / 0.6019 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.189, allocations: 7.438 kB / 0.6019 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.189, allocations: 8.125 kB / 0.6019 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.2, allocations: 0.9809 MB / 0.6029 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.2003, allocations: 195.4 kB / 0.6031 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/1.793, allocations: 0 / 0.6031 GB, free: 1.617 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: