Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0",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.436/1.436, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001117/0.001118, allocations: 178.2 kB / 326.5 MB, free: 2.254 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.725/1.725, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.00118/0.00118, allocations: 93.84 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003064, allocations: 9.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1907, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001439/0.1922, allocations: 1.149 MB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004071/0.1926, allocations: 232.4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.1927, allocations: 0 / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.1927, allocations: 11.88 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.1927, allocations: 4 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1931, allocations: 39.89 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.384e-05/0.1931, allocations: 11.98 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.1932, allocations: 4 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.1933, allocations: 4 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.1933, allocations: 15.91 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.1933, allocations: 7.938 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1935, allocations: 55.95 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.1935, allocations: 7.984 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.1935, allocations: 25.7 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.245e-05/0.1936, allocations: 31.94 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1936, allocations: 3.938 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.053e-06/0.1936, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1936, allocations: 0 / 0.9017 GB, free: 62.24 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.0003906/0.194, allocations: 339.4 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1941, allocations: 12.03 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.1941, allocations: 38.56 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.1942, allocations: 0 / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.1942, allocations: 175.1 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1943, allocations: 8 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.1943, allocations: 0 / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1945, allocations: 53.67 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1945, allocations: 4 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1945, allocations: 0 / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1945, allocations: 0 / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1947, allocations: 43.91 kB / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.195, allocations: 252.9 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1951, allocations: 42.56 kB / 0.9026 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005202/0.1956, allocations: 461.5 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.1956, allocations: 34.56 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/0.1957, allocations: 0 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003204/0.196, allocations: 97.58 kB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.196, allocations: 51.41 kB / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.332e-05/0.1961, allocations: 97.86 kB / 0.9033 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.1961, allocations: 25.7 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.1961, allocations: 88.14 kB / 0.9034 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.1961, allocations: 7.891 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.1961, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.158e-05/0.1962, allocations: 322.9 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.1963, allocations: 23.98 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.1963, allocations: 15.98 kB / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.413e-05/0.1964, allocations: 35.97 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1964, allocations: 0 / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001685/0.1966, allocations: 73.61 kB / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1966, allocations: 10.69 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1966, allocations: 0 / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1966, allocations: 4 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.1967, allocations: 11.98 kB / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1967, allocations: 3.984 kB / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.1968, allocations: 7.984 kB / 0.9039 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.1968, allocations: 4 kB / 0.9039 GB, free: 59.63 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.931e-05/0.1969, allocations: 113.8 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.1969, allocations: 7.906 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.1971, allocations: 80.72 kB / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1971, allocations: 0 / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1971, allocations: 0 / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1971, allocations: 8.016 kB / 0.9041 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.1972, allocations: 161.6 kB / 0.9043 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1973, allocations: 0 / 0.9043 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.1973, allocations: 11.98 kB / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1973, allocations: 0 / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.1973, allocations: 0 / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1973, allocations: 0 / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1973, allocations: 0 / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1975, allocations: 179.5 kB / 0.9045 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.1976, allocations: 77.11 kB / 0.9046 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1976, allocations: 0 / 0.9046 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.1977, allocations: 12.02 kB / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.1977, allocations: 11.94 kB / 0.9046 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1977, allocations: 0 / 0.9046 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.919e-05/0.1977, allocations: 83.28 kB / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1977, allocations: 0 / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002237/0.198, allocations: 19.98 kB / 0.9047 GB, free: 58.78 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.0004119/0.1984, allocations: 0.7279 MB / 0.9054 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1986, allocations: 51.95 kB / 0.9054 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1986, allocations: 0 / 0.9054 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.1987, allocations: 31.98 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.1988, allocations: 1.891 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.1992, allocations: 142.3 kB / 0.9056 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.1993, allocations: 0.6809 MB / 0.9063 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.1994, allocations: 0 / 0.9063 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.1994, allocations: 15.42 kB / 0.9063 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.1994, allocations: 4.062 kB / 0.9063 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.2107, allocations: 1.234 MB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/0.2109, allocations: 186.4 kB / 0.9077 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.44/1.651, allocations: 3.938 kB / 0.9077 GB, free: 55.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)