Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 181.1 kB / 326.5 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008555/0.0008555, allocations: 97.75 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003011, allocations: 9.938 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1805, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001287/0.1818, allocations: 1.16 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003849/0.1822, allocations: 236.3 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.1822, allocations: 0 / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.1823, allocations: 0 / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.1823, allocations: 0 / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1826, allocations: 55.75 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.223e-05/0.1826, allocations: 15.98 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.36e-05/0.1827, allocations: 7.984 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.1827, allocations: 4 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.057e-05/0.1828, allocations: 11.92 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.1828, allocations: 4 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1829, allocations: 55.94 kB / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.1829, allocations: 7.938 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.1829, allocations: 29.69 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.025e-05/0.183, allocations: 27.95 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.183, allocations: 4 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.183, allocations: 0 / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.183, allocations: 4 kB / 0.9017 GB, free: 62.16 MB / 0.6042 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.000353/0.1834, allocations: 335.4 kB / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1834, allocations: 12.03 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.343e-05/0.1835, allocations: 34.56 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/0.1835, allocations: 0 / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.795e-05/0.1836, allocations: 183.1 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.1836, allocations: 4 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-06/0.1836, allocations: 0 / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1838, allocations: 57.61 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1838, allocations: 0 / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1838, allocations: 0 / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1838, allocations: 0 / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.184, allocations: 43.97 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.1842, allocations: 252.9 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1843, allocations: 46.56 kB / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/0.1849, allocations: 461.5 kB / 0.9031 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.1849, allocations: 38.56 kB / 0.9031 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1849, allocations: 3.938 kB / 0.9031 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003255/0.1853, allocations: 93.64 kB / 0.9032 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.1853, allocations: 55.53 kB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.287e-05/0.1854, allocations: 97.84 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.1854, allocations: 25.7 kB / 0.9034 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/0.1854, allocations: 88.14 kB / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.1854, allocations: 3.906 kB / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.1854, allocations: 0 / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.1855, allocations: 314.8 kB / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1856, allocations: 31.92 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.1857, allocations: 19.97 kB / 0.9038 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.1858, allocations: 23.98 kB / 0.9038 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1858, allocations: 4.062 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001742/0.1859, allocations: 77.59 kB / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.186, allocations: 4 kB / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.186, allocations: 0 / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.186, allocations: 0 / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.1861, allocations: 16.03 kB / 0.9039 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1861, allocations: 0 / 0.9039 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.1861, allocations: 7.984 kB / 0.904 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.1861, allocations: 0 / 0.904 GB, free: 59.55 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.1862, allocations: 117.8 kB / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1862, allocations: 3.906 kB / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.1864, allocations: 92.7 kB / 0.9042 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1864, allocations: 0 / 0.9042 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1865, allocations: 0 / 0.9042 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1865, allocations: 0 / 0.9042 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.1866, allocations: 157.6 kB / 0.9043 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1866, allocations: 4 kB / 0.9043 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.1866, allocations: 16.02 kB / 0.9043 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1866, allocations: 0 / 0.9043 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.1867, allocations: 0 / 0.9043 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1867, allocations: 0 / 0.9043 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1867, allocations: 0 / 0.9043 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.1869, allocations: 179.4 kB / 0.9045 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.1869, allocations: 81.11 kB / 0.9046 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1869, allocations: 3.938 kB / 0.9046 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.187, allocations: 7.984 kB / 0.9046 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.187, allocations: 8 kB / 0.9046 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.187, allocations: 0 / 0.9046 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.1871, allocations: 87.3 kB / 0.9047 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1871, allocations: 0 / 0.9047 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002339/0.1873, allocations: 16 kB / 0.9047 GB, free: 58.7 MB / 0.6042 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 (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.0004335/0.1877, allocations: 0.7279 MB / 0.9054 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1879, allocations: 44 kB / 0.9054 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.188, allocations: 4 kB / 0.9054 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.188, allocations: 23.98 kB / 0.9055 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.1882, allocations: 0 / 0.9055 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.1886, allocations: 150.4 kB / 0.9056 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.1887, allocations: 0.677 MB / 0.9063 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.1887, allocations: 0 / 0.9063 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.1888, allocations: 19.38 kB / 0.9063 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.1888, allocations: 0 / 0.9063 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009945/0.1987, allocations: 1.26 MB / 0.9075 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/0.1989, allocations: 184.2 kB / 0.9077 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/1.68, allocations: 0 / 0.9077 GB, free: 55.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)