Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_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.001639/0.001639, allocations: 108 kB / 15.61 MB, free: 152 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.001842/0.001842, allocations: 199.1 kB / 16.54 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002397/0.002397, allocations: 278.5 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002627/0.002627, allocations: 102.6 kB / 0.6065 GB, free: 24.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1767, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002697/0.1795, allocations: 1.428 MB / 0.695 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005043/0.18, allocations: 249 kB / 0.6952 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.18, allocations: 0 / 0.6952 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.1801, allocations: 0 / 0.6952 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/0.1801, allocations: 7.922 kB / 0.6952 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.1805, allocations: 63.81 kB / 0.6953 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.657e-05/0.1805, allocations: 23.88 kB / 0.6953 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.1806, allocations: 8.484 kB / 0.6953 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.1807, allocations: 8.5 kB / 0.6953 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.1807, allocations: 7.922 kB / 0.6953 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-06/0.1807, allocations: 4.5 kB / 0.6954 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1809, allocations: 61.48 kB / 0.6954 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.1809, allocations: 7.984 kB / 0.6954 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.1809, allocations: 11.92 kB / 0.6954 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1811, allocations: 51.86 kB / 0.6955 GB, free: 2.305 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1811, allocations: 0.625 kB / 0.6955 GB, free: 2.305 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1811, allocations: 0 / 0.6955 GB, free: 2.305 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1811, allocations: 0.5625 kB / 0.6955 GB, free: 2.305 MB / 494.1 MB 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.0004567/0.1816, allocations: 353.1 kB / 0.6958 GB, free: 1.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1816, allocations: 8.031 kB / 0.6958 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.1816, allocations: 30.75 kB / 0.6959 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.1817, allocations: 5.531 kB / 0.6959 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1818, allocations: 167 kB / 0.696 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1818, allocations: 384 / 0.696 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.1818, allocations: 4.375 kB / 0.696 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.1821, allocations: 50.22 kB / 0.6961 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1821, allocations: 3.938 kB / 0.6961 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1821, allocations: 4 kB / 0.6961 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1821, allocations: 1.594 kB / 0.6961 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.1823, allocations: 31.91 kB / 0.6961 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.1826, allocations: 257.5 kB / 0.6964 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1828, allocations: 34.5 kB / 0.6964 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.1829, allocations: 24.91 kB / 0.6964 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000675/0.1836, allocations: 461.5 kB / 0.6969 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1836, allocations: 34.5 kB / 0.6969 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1836, allocations: 0 / 0.6969 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003446/0.1839, allocations: 81.64 kB / 0.697 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.184, allocations: 51.53 kB / 0.697 GB, free: 468 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.1841, allocations: 101.8 kB / 0.6971 GB, free: 356 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1841, allocations: 25.7 kB / 0.6971 GB, free: 324 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.1842, allocations: 84.14 kB / 0.6972 GB, free: 236 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1842, allocations: 7.906 kB / 0.6972 GB, free: 228 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.1842, allocations: 9.719 kB / 0.6972 GB, free: 212 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1844, allocations: 314.8 kB / 0.6975 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.1845, allocations: 19.97 kB / 0.6975 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.1845, allocations: 19.98 kB / 0.6976 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1847, allocations: 40.77 kB / 0.6976 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1847, allocations: 3.938 kB / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001913/0.1849, allocations: 61.66 kB / 0.6977 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1849, allocations: 12.09 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.1849, allocations: 0 / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1849, allocations: 0 / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.185, allocations: 7.984 kB / 0.6977 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.185, allocations: 11.88 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.1851, allocations: 7.938 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1851, allocations: 0 / 0.6977 GB, free: 15.7 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.786e-05/0.1852, allocations: 118.4 kB / 0.6978 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1852, allocations: 0 / 0.6978 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.1854, allocations: 80.72 kB / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1854, allocations: 0 / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1855, allocations: 0 / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1855, allocations: 0 / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.1856, allocations: 161.5 kB / 0.6981 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1856, allocations: 3.984 kB / 0.6981 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.1857, allocations: 8 kB / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1857, allocations: 0 / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1857, allocations: 4.031 kB / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1857, allocations: 0 / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1857, allocations: 0 / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.186, allocations: 171.4 kB / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.186, allocations: 85.09 kB / 0.6983 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.1861, allocations: 0 / 0.6983 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.1861, allocations: 8.031 kB / 0.6983 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.1862, allocations: 3.984 kB / 0.6983 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1862, allocations: 0 / 0.6983 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.776e-05/0.1862, allocations: 87.45 kB / 0.6984 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1862, allocations: 0 / 0.6984 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000229/0.1865, allocations: 16 kB / 0.6984 GB, free: 14.87 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.0006305/0.1871, allocations: 0.7163 MB / 0.6991 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.1873, allocations: 36 kB / 0.6992 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.1873, allocations: 0 / 0.6992 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.1874, allocations: 23.97 kB / 0.6992 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1877, allocations: 0 / 0.6992 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.1881, allocations: 139.2 kB / 0.6993 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1884, allocations: 0.6769 MB / 0.7 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.1884, allocations: 4 kB / 0.7 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.1884, allocations: 19.38 kB / 0.7 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1884, allocations: 3.938 kB / 0.7 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.2108, allocations: 1.498 MB / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/7.6, allocations: 9.859 kB / 0.7015 GB, free: 11.72 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)