Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_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.327/1.327, allocations: 251.5 MB / 266.7 MB, free: 10.97 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.0009616/0.0009613, allocations: 179.7 kB / 325.8 MB, free: 2.68 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.732/1.732, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007129/0.0007129, allocations: 86.12 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 13.12 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2065, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007055/0.2072, allocations: 335 kB / 0.8965 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004177/0.2076, allocations: 188.2 kB / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-06/0.2077, allocations: 4 kB / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.2077, allocations: 0 / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-06/0.2077, allocations: 3.938 kB / 0.8967 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.208, allocations: 39.95 kB / 0.8968 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.427e-05/0.2081, allocations: 4 kB / 0.8968 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.2081, allocations: 0 / 0.8968 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.385e-05/0.2081, allocations: 0 / 0.8968 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.099e-05/0.2081, allocations: 0 / 0.8968 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.2082, allocations: 4 kB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.2083, allocations: 63.88 kB / 0.8968 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.2083, allocations: 7.938 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.2084, allocations: 3.984 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.722e-05/0.2085, allocations: 35.89 kB / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2085, allocations: 0 / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2085, allocations: 0 / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.2085, allocations: 0 / 0.8969 GB, free: 67.38 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001971/0.2087, allocations: 311.9 kB / 0.8972 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2087, allocations: 20.02 kB / 0.8972 GB, free: 67 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.2088, allocations: 34.75 kB / 0.8972 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.2088, allocations: 0.9375 kB / 0.8972 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.952e-05/0.2089, allocations: 160.4 kB / 0.8974 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2089, allocations: 384 / 0.8974 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-06/0.2089, allocations: 384 / 0.8974 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.953e-05/0.209, allocations: 34.2 kB / 0.8974 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.209, allocations: 3.938 kB / 0.8974 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.209, allocations: 3.938 kB / 0.8974 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.209, allocations: 4 kB / 0.8974 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.2091, allocations: 0 / 0.8974 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.806e-05/0.2092, allocations: 157.6 kB / 0.8976 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.758e-05/0.2092, allocations: 14.58 kB / 0.8976 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.2092, allocations: 8.953 kB / 0.8976 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005337/0.2097, allocations: 453.5 kB / 0.898 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2098, allocations: 42.5 kB / 0.8981 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2098, allocations: 0 / 0.8981 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000106/0.2099, allocations: 33.64 kB / 0.8981 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.2099, allocations: 51.41 kB / 0.8981 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.439e-05/0.2099, allocations: 89.86 kB / 0.8982 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.2099, allocations: 25.7 kB / 0.8983 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.238e-05/0.21, allocations: 84.27 kB / 0.8983 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.21, allocations: 0 / 0.8983 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.21, allocations: 9.719 kB / 0.8983 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.03e-05/0.2101, allocations: 318.8 kB / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.2101, allocations: 7.984 kB / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.2101, allocations: 0 / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.212e-05/0.2101, allocations: 12.8 kB / 0.8987 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2101, allocations: 4 kB / 0.8987 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.685e-05/0.2102, allocations: 33.7 kB / 0.8987 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.2102, allocations: 4 kB / 0.8987 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2102, allocations: 7.938 kB / 0.8987 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.2102, allocations: 0 / 0.8987 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-05/0.2102, allocations: 0 / 0.8987 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2102, allocations: 3.984 kB / 0.8987 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-06/0.2103, allocations: 0 / 0.8987 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2103, allocations: 7.984 kB / 0.8987 GB, free: 65.14 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 (1): * Single equations (assignments): 1 * 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 4.01e-05/0.2103, allocations: 109.9 kB / 0.8988 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/0.2103, allocations: 4 kB / 0.8988 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.2104, allocations: 40.7 kB / 0.8989 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2104, allocations: 0 / 0.8989 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2104, allocations: 3.984 kB / 0.8989 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.2104, allocations: 0 / 0.8989 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.78e-05/0.2105, allocations: 149.7 kB / 0.899 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.2105, allocations: 0 / 0.899 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.2105, allocations: 0 / 0.899 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.2105, allocations: 0 / 0.899 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.2105, allocations: 7.969 kB / 0.899 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2105, allocations: 4 kB / 0.899 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2105, allocations: 4 kB / 0.899 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.236e-05/0.2106, allocations: 65 kB / 0.8991 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.2106, allocations: 77.11 kB / 0.8992 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.2106, allocations: 3.938 kB / 0.8992 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.2106, allocations: 4 kB / 0.8992 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.2106, allocations: 4.031 kB / 0.8992 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.2106, allocations: 0 / 0.8992 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.165e-05/0.2106, allocations: 75.28 kB / 0.8993 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.2106, allocations: 0 / 0.8993 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000194/0.2108, allocations: 15.98 kB / 0.8993 GB, free: 64.48 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 (1): * Single equations (assignments): 1 * 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.0002641/0.2111, allocations: 0.6169 MB / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.159e-05/0.2112, allocations: 11.94 kB / 0.8999 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2112, allocations: 0 / 0.8999 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-06/0.2112, allocations: 0 / 0.8999 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.2113, allocations: 7.938 kB / 0.8999 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.2116, allocations: 108.4 kB / 0.9 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.819e-05/0.2117, allocations: 0.6692 MB / 0.9007 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.033e-05/0.2117, allocations: 0 / 0.9007 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-06/0.2117, allocations: 7.438 kB / 0.9007 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.2117, allocations: 0 / 0.9007 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1635/0.3752, allocations: 0.9673 MB / 0.9016 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.3754, allocations: 214.3 kB / 0.9018 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.388/1.763, allocations: 0 / 0.9018 GB, free: 61.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)