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.365/1.365, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.00102/0.00102, allocations: 180.6 kB / 326.5 MB, free: 2.227 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.762/1.762, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009394/0.0009391, allocations: 93.16 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 12.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006625/0.2131, allocations: 329.2 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.2135, allocations: 169.5 kB / 0.9006 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.086e-05/0.2135, allocations: 4 kB / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.2135, allocations: 0 / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-06/0.2135, allocations: 0 / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.2139, allocations: 31.91 kB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.445e-05/0.2139, allocations: 11.98 kB / 0.9007 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.214, allocations: 0 / 0.9007 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.409e-05/0.214, allocations: 7.938 kB / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.313e-05/0.214, allocations: 3.984 kB / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.214, allocations: 0 / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.2142, allocations: 51.95 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.622e-06/0.2142, allocations: 0 / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.2143, allocations: 29.7 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.843e-05/0.2143, allocations: 19.95 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2144, allocations: 0 / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.396e-06/0.2144, allocations: 0 / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2144, allocations: 7.938 kB / 0.9008 GB, free: 63.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002102/0.2146, allocations: 315.4 kB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2146, allocations: 12.03 kB / 0.9011 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.657e-05/0.2147, allocations: 30.56 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.2147, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.677e-05/0.2148, allocations: 171 kB / 0.9013 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.2148, allocations: 0 / 0.9013 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-06/0.2148, allocations: 0 / 0.9013 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.594e-05/0.2149, allocations: 37.69 kB / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2149, allocations: 0 / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.2149, allocations: 0 / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2149, allocations: 0 / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.658e-05/0.2149, allocations: 0 / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.215, allocations: 149.6 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.136e-05/0.2151, allocations: 22.52 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/0.2157, allocations: 457.5 kB / 0.9019 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.2157, allocations: 30.56 kB / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2157, allocations: 0 / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.2158, allocations: 33.7 kB / 0.902 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.2159, allocations: 55.41 kB / 0.9021 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.587e-05/0.2159, allocations: 93.98 kB / 0.9021 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.2159, allocations: 29.64 kB / 0.9022 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.079e-05/0.2159, allocations: 84.12 kB / 0.9023 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.2159, allocations: 3.938 kB / 0.9023 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.2159, allocations: 0 / 0.9023 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.216, allocations: 310.8 kB / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-06/0.216, allocations: 0 / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.216, allocations: 4 kB / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.486e-05/0.216, allocations: 64 / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.216, allocations: 7.953 kB / 0.9026 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.363e-05/0.2161, allocations: 33.7 kB / 0.9026 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2161, allocations: 8 kB / 0.9026 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2161, allocations: 0 / 0.9026 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2161, allocations: 0 / 0.9026 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.751e-05/0.2162, allocations: 3.984 kB / 0.9026 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2162, allocations: 3.938 kB / 0.9026 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.2162, allocations: 4 kB / 0.9026 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2162, allocations: 0 / 0.9026 GB, free: 60.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.2163, allocations: 109.9 kB / 0.9027 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-06/0.2163, allocations: 7.891 kB / 0.9027 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.2163, allocations: 44.81 kB / 0.9028 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2164, allocations: 0 / 0.9028 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2164, allocations: 0 / 0.9028 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2164, allocations: 4 kB / 0.9028 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.394e-05/0.2164, allocations: 141.7 kB / 0.9029 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2164, allocations: 0 / 0.9029 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.2165, allocations: 3.953 kB / 0.9029 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2165, allocations: 4.031 kB / 0.9029 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.2165, allocations: 4 kB / 0.9029 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2165, allocations: 0 / 0.9029 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2165, allocations: 3.984 kB / 0.9029 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.937e-05/0.2165, allocations: 57.08 kB / 0.903 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.2166, allocations: 77.11 kB / 0.9031 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.2166, allocations: 11.94 kB / 0.9031 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-06/0.2166, allocations: 0 / 0.9031 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-06/0.2166, allocations: 4.031 kB / 0.9031 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2166, allocations: 3.984 kB / 0.9031 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.564e-05/0.2166, allocations: 75.28 kB / 0.9031 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2166, allocations: 0 / 0.9031 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002161/0.2169, allocations: 16 kB / 0.9032 GB, free: 60.32 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 (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.0002956/0.2172, allocations: 0.6163 MB / 0.9038 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.636e-05/0.2172, allocations: 7.938 kB / 0.9038 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2172, allocations: 0 / 0.9038 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.57e-06/0.2172, allocations: 0 / 0.9038 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.971e-05/0.2173, allocations: 7.953 kB / 0.9038 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.2176, allocations: 116.5 kB / 0.9039 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.285e-05/0.2177, allocations: 0.6734 MB / 0.9045 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.06e-05/0.2177, allocations: 4 kB / 0.9045 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.084e-05/0.2177, allocations: 7.438 kB / 0.9046 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2177, allocations: 0 / 0.9046 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01028/0.228, allocations: 0.948 MB / 0.9055 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001293/0.2282, allocations: 191.4 kB / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.678, allocations: 0 / 0.9057 GB, free: 57.75 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)