Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",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.001508/0.001508, allocations: 99.62 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.001803/0.001804, allocations: 177.3 kB / 15.95 MB, free: 216 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.285/3.285, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.089/3.089, allocations: 292.6 MB / 0.5497 GB, free: 14.56 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.0008072/0.0008075, allocations: 16.19 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4935, allocations: 116.3 MB / 0.7872 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001019/0.4945, allocations: 309.9 kB / 0.7875 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000583/0.4951, allocations: 181.2 kB / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.547e-05/0.4952, allocations: 0 / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.4952, allocations: 0 / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.451e-06/0.4952, allocations: 0 / 0.7877 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.4956, allocations: 51.81 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.4957, allocations: 4 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.4958, allocations: 4 kB / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.4958, allocations: 0 / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.75e-05/0.4958, allocations: 0 / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.4958, allocations: 0 / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.4961, allocations: 63.92 kB / 0.7878 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.4961, allocations: 0 / 0.7878 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.4962, allocations: 25.7 kB / 0.7879 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.872e-05/0.4963, allocations: 23.91 kB / 0.7879 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.4963, allocations: 8 kB / 0.7879 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4963, allocations: 0 / 0.7879 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.4963, allocations: 0 / 0.7879 GB, free: 11.16 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.0003677/0.4967, allocations: 314.2 kB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.4968, allocations: 8.031 kB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.4968, allocations: 34.56 kB / 0.7882 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.4968, allocations: 3.984 kB / 0.7882 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.497, allocations: 163 kB / 0.7884 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.497, allocations: 0 / 0.7884 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.497, allocations: 8 kB / 0.7884 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.4972, allocations: 25.7 kB / 0.7884 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.4972, allocations: 0 / 0.7884 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4972, allocations: 0 / 0.7884 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4972, allocations: 3.938 kB / 0.7884 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.4972, allocations: 7.938 kB / 0.7884 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.4975, allocations: 157.6 kB / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.74e-05/0.4975, allocations: 14.58 kB / 0.7886 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.4986, allocations: 461.5 kB / 0.789 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.4986, allocations: 30.56 kB / 0.7891 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.4987, allocations: 3.938 kB / 0.7891 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.4988, allocations: 41.73 kB / 0.7891 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4989, allocations: 55.41 kB / 0.7892 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.4989, allocations: 89.86 kB / 0.7892 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.499, allocations: 25.7 kB / 0.7893 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.499, allocations: 80.14 kB / 0.7893 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.4991, allocations: 3.906 kB / 0.7894 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.4991, allocations: 0 / 0.7894 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4992, allocations: 314.8 kB / 0.7897 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-06/0.4993, allocations: 0 / 0.7897 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.4993, allocations: 8.031 kB / 0.7897 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.4993, allocations: 4 kB / 0.7897 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4993, allocations: 0 / 0.7897 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.158e-05/0.4994, allocations: 33.66 kB / 0.7897 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4994, allocations: 14.75 kB / 0.7897 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4995, allocations: 0 / 0.7897 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4995, allocations: 0 / 0.7897 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.316e-05/0.4995, allocations: 0 / 0.7897 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4995, allocations: 0 / 0.7897 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.4996, allocations: 8.094 kB / 0.7897 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4996, allocations: 3.984 kB / 0.7897 GB, free: 8.969 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 9.727e-05/0.4997, allocations: 105.8 kB / 0.7898 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.4997, allocations: 3.953 kB / 0.7898 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.4998, allocations: 37.11 kB / 0.7899 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4998, allocations: 0 / 0.7899 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4998, allocations: 0 / 0.7899 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4999, allocations: 7.984 kB / 0.7899 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.5, allocations: 145.7 kB / 0.79 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5, allocations: 4.031 kB / 0.79 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.5, allocations: 0 / 0.79 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.5001, allocations: 11.89 kB / 0.79 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.5001, allocations: 4 kB / 0.79 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5001, allocations: 0 / 0.79 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5001, allocations: 0 / 0.79 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.5002, allocations: 61.12 kB / 0.7901 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.5003, allocations: 81.08 kB / 0.7902 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.868e-05/0.5003, allocations: 19.83 kB / 0.7902 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/0.5003, allocations: 0 / 0.7902 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.5003, allocations: 0 / 0.7902 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.5004, allocations: 0 / 0.7902 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.5004, allocations: 75.28 kB / 0.7903 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5004, allocations: 0 / 0.7903 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003718/0.5008, allocations: 19.98 kB / 0.7903 GB, free: 8.297 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.0005693/0.5014, allocations: 0.6085 MB / 0.7909 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.811e-05/0.5015, allocations: 4 kB / 0.7909 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5015, allocations: 0 / 0.7909 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.5015, allocations: 4.094 kB / 0.7909 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.5016, allocations: 7.953 kB / 0.7909 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.5021, allocations: 116.3 kB / 0.791 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.5024, allocations: 0.6692 MB / 0.7916 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.4e-05/0.5024, allocations: 4 kB / 0.7916 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.5025, allocations: 11.42 kB / 0.7917 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.5025, allocations: 0 / 0.7917 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5392/1.042, allocations: 0.9522 MB / 0.7926 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003696/1.042, allocations: 182.4 kB / 0.7928 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/4.364, allocations: 0 / 0.7928 GB, free: 5.707 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: