Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.001061/0.001061, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 197.4 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.1 MB / 222.5 MB, free: 4.547 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 1.655/1.655, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001352/0.001352, allocations: 68.97 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.205, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002592/0.2076, allocations: 1.437 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004778/0.2081, allocations: 256 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.2082, allocations: 0 / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.2082, allocations: 0 / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.2082, allocations: 3.938 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.2086, allocations: 59.81 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.931e-05/0.2087, allocations: 23.92 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.2087, allocations: 7.938 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.2088, allocations: 19.92 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.385e-05/0.2088, allocations: 4 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.2088, allocations: 0 / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.209, allocations: 63.92 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.209, allocations: 11.94 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.209, allocations: 7.984 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.2092, allocations: 55.8 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2092, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2092, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.2092, allocations: 0 / 0.7855 GB, free: 11.31 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004122/0.2096, allocations: 351.7 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2097, allocations: 12.03 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.2097, allocations: 30.75 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.2097, allocations: 0.9375 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.2098, allocations: 168.4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2098, allocations: 384 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.2099, allocations: 4.312 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.21, allocations: 50.23 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.21, allocations: 7.938 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.2101, allocations: 0 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2101, allocations: 0 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.2102, allocations: 35.91 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.2105, allocations: 252.9 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.2107, allocations: 42.5 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.2108, allocations: 20.91 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00065/0.2114, allocations: 457.5 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.2115, allocations: 34.56 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.2115, allocations: 0 / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003453/0.2118, allocations: 85.58 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.2118, allocations: 51.41 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.2119, allocations: 97.84 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.2119, allocations: 25.7 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.212, allocations: 92.27 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.212, allocations: 3.906 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.212, allocations: 13.72 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.2121, allocations: 318.8 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.2122, allocations: 11.98 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.2123, allocations: 15.98 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2125, allocations: 48.81 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2125, allocations: 3.938 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001813/0.2127, allocations: 61.67 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2127, allocations: 7.938 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2127, allocations: 4 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2127, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.2128, allocations: 16.02 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2128, allocations: 0 / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.2129, allocations: 7.984 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.2129, allocations: 0 / 0.7878 GB, free: 8.699 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 (2): * Single equations (assignments): 2 * 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 7.786e-05/0.2129, allocations: 122.8 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.213, allocations: 4.094 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.2132, allocations: 76.7 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2132, allocations: 0 / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2132, allocations: 7.938 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2132, allocations: 0 / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2134, allocations: 161.6 kB / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2134, allocations: 0 / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.2134, allocations: 7.984 kB / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2135, allocations: 0 / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.2135, allocations: 4 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2135, allocations: 0 / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2135, allocations: 0 / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.2137, allocations: 171.4 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.2138, allocations: 77.11 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.2138, allocations: 0 / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.2139, allocations: 7.984 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.2139, allocations: 4 kB / 0.7884 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2139, allocations: 8.031 kB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.2139, allocations: 75.28 kB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2139, allocations: 0 / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002474/0.2142, allocations: 20 kB / 0.7885 GB, free: 7.867 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 (2): * Single equations (assignments): 2 * 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.000561/0.2148, allocations: 0.7163 MB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.215, allocations: 39.89 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.215, allocations: 4 kB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.2151, allocations: 20.05 kB / 0.7892 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.2153, allocations: 4.938 kB / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.2158, allocations: 139 kB / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.216, allocations: 0.6768 MB / 0.79 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.216, allocations: 4 kB / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.2161, allocations: 15.38 kB / 0.79 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2161, allocations: 0 / 0.79 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.2312, allocations: 1.501 MB / 0.7915 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.775, allocations: 0 / 0.7915 GB, free: 4.719 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)