Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_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.002028/0.002028, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002945/0.002945, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.582/3.582, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.159/3.159, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009659/0.0009664, allocations: 19.34 kB / 0.6737 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5055, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001285/0.5069, allocations: 321.8 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008329/0.5078, allocations: 177.2 kB / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.5078, allocations: 0 / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.5078, allocations: 0 / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.638e-06/0.5078, allocations: 0 / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.5084, allocations: 35.09 kB / 0.7877 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.5085, allocations: 3.984 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.352e-05/0.5085, allocations: 0 / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.5086, allocations: 0 / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.5086, allocations: 11.86 kB / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.5086, allocations: 4 kB / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.5089, allocations: 59.95 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.509, allocations: 3.984 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.509, allocations: 25.7 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.5092, allocations: 19.97 kB / 0.7879 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.5092, allocations: 4 kB / 0.7879 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5092, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.5092, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.6075 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.0005635/0.5098, allocations: 315.4 kB / 0.7882 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.579e-05/0.5099, allocations: 12.03 kB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/0.51, allocations: 30.56 kB / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.51, allocations: 4 kB / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.5103, allocations: 167 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.5103, allocations: 0 / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.5103, allocations: 0 / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.5106, allocations: 29.7 kB / 0.7884 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.5106, allocations: 0 / 0.7884 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.5107, allocations: 4 kB / 0.7884 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.5107, allocations: 0 / 0.7884 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.5108, allocations: 3.984 kB / 0.7884 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.5112, allocations: 153.6 kB / 0.7886 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.764e-05/0.5114, allocations: 22.55 kB / 0.7886 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.5129, allocations: 457.5 kB / 0.789 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.31e-05/0.5129, allocations: 34.56 kB / 0.789 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.513, allocations: 0 / 0.789 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003276/0.5133, allocations: 29.7 kB / 0.7891 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.5134, allocations: 51.41 kB / 0.7891 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.5135, allocations: 89.86 kB / 0.7892 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.5136, allocations: 25.7 kB / 0.7892 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.5137, allocations: 84.14 kB / 0.7893 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.4e-05/0.5138, allocations: 7.844 kB / 0.7893 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.5138, allocations: 3.938 kB / 0.7893 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003716/0.5142, allocations: 326.9 kB / 0.7896 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.5142, allocations: 0 / 0.7896 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39e-05/0.5142, allocations: 0 / 0.7896 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.5143, allocations: 4 kB / 0.7896 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5143, allocations: 0 / 0.7896 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001111/0.5144, allocations: 33.66 kB / 0.7897 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.5145, allocations: 4 kB / 0.7897 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.5145, allocations: 4 kB / 0.7897 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.5146, allocations: 4.094 kB / 0.7897 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.5146, allocations: 0 / 0.7897 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.5147, allocations: 0 / 0.7897 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.5147, allocations: 0 / 0.7897 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.5147, allocations: 3.984 kB / 0.7897 GB, free: 9.051 MB / 0.6075 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 0.0001918/0.5149, allocations: 109.8 kB / 0.7898 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.5149, allocations: 7.953 kB / 0.7898 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.5151, allocations: 37.05 kB / 0.7898 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.5151, allocations: 0 / 0.7898 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.5152, allocations: 4.031 kB / 0.7898 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.5152, allocations: 0 / 0.7898 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.5154, allocations: 149.7 kB / 0.79 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5154, allocations: 0 / 0.79 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/0.5154, allocations: 0 / 0.79 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.5155, allocations: 3.953 kB / 0.79 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5155, allocations: 0 / 0.79 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.5155, allocations: 0 / 0.79 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.5155, allocations: 4 kB / 0.79 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.5157, allocations: 65.06 kB / 0.7901 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.5158, allocations: 81.05 kB / 0.7901 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.5158, allocations: 3.953 kB / 0.7901 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/0.5158, allocations: 0 / 0.7901 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.5159, allocations: 4 kB / 0.7901 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.5159, allocations: 0 / 0.7901 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.559e-05/0.516, allocations: 79.28 kB / 0.7902 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.516, allocations: 0 / 0.7902 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003314/0.5163, allocations: 16 kB / 0.7902 GB, free: 8.391 MB / 0.6075 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.001049/0.5174, allocations: 0.6163 MB / 0.7908 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.5175, allocations: 15.97 kB / 0.7908 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5175, allocations: 0 / 0.7908 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/0.5176, allocations: 3.938 kB / 0.7908 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.5177, allocations: 3.953 kB / 0.7909 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.5183, allocations: 108.4 kB / 0.791 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.5188, allocations: 0.6731 MB / 0.7916 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.5188, allocations: 4 kB / 0.7916 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.5189, allocations: 7.438 kB / 0.7916 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.5189, allocations: 8.125 kB / 0.7916 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2771/0.796, allocations: 0.9426 MB / 0.7926 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005711/0.7967, allocations: 189.2 kB / 0.7927 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/3.966, allocations: 3.938 kB / 0.7927 GB, free: 5.785 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: