Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.001014/0.001014, allocations: 108 kB / 15.6 MB, free: 132 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.001049/0.001049, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.425/1.425, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.75/1.75, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001511/0.001511, allocations: 68.09 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2315, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003167/0.2347, allocations: 1.434 MB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000561/0.2353, allocations: 236.1 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.2354, allocations: 4 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.2354, allocations: 3.984 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.2355, allocations: 3.938 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.2359, allocations: 59.83 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.236, allocations: 12 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/0.2361, allocations: 11.98 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.2361, allocations: 7.984 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.2362, allocations: 15.92 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2362, allocations: 0 / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.2363, allocations: 63.89 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.2364, allocations: 3.984 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.2364, allocations: 11.94 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.2366, allocations: 55.86 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2366, allocations: 0 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2366, allocations: 0 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2366, allocations: 0 / 0.7853 GB, free: 11.43 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.0004851/0.2371, allocations: 347.7 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.2371, allocations: 8.031 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.2372, allocations: 38.69 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.2372, allocations: 8.922 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2374, allocations: 160.4 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.2374, allocations: 384 / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2374, allocations: 4.375 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.2377, allocations: 54.22 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2377, allocations: 3.938 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2377, allocations: 0 / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2377, allocations: 0 / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.2379, allocations: 31.97 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.2384, allocations: 256.8 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.2385, allocations: 38.5 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2386, allocations: 28.89 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008511/0.2395, allocations: 453.5 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.2395, allocations: 30.56 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.2395, allocations: 0 / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004089/0.24, allocations: 85.58 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.24, allocations: 51.41 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.2401, allocations: 101.8 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2401, allocations: 29.64 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.2402, allocations: 84.14 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.2402, allocations: 11.84 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.2403, allocations: 13.84 kB / 0.7871 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2405, allocations: 314.8 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.2406, allocations: 23.97 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.2406, allocations: 11.98 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2408, allocations: 40.83 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2408, allocations: 8 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002121/0.241, allocations: 69.59 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2411, allocations: 4 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2411, allocations: 0 / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.2411, allocations: 0 / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.554e-05/0.2412, allocations: 11.98 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.2412, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.2413, allocations: 7.984 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2413, allocations: 4.031 kB / 0.7876 GB, free: 8.809 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 9.298e-05/0.2414, allocations: 113.7 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.2414, allocations: 7.906 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.2417, allocations: 72.72 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2417, allocations: 0 / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2417, allocations: 0 / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2417, allocations: 4.031 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.2419, allocations: 165.6 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2419, allocations: 4 kB / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.242, allocations: 4 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.242, allocations: 0 / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.242, allocations: 3.984 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.242, allocations: 0 / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.242, allocations: 4 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.2423, allocations: 163.5 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.2424, allocations: 81.11 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2424, allocations: 3.938 kB / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.2424, allocations: 4 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.2425, allocations: 3.984 kB / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2425, allocations: 0 / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.2426, allocations: 83.47 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.174e-06/0.2426, allocations: 4.031 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002458/0.2428, allocations: 19.94 kB / 0.7883 GB, free: 7.98 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.0007432/0.2436, allocations: 0.7165 MB / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.2438, allocations: 43.83 kB / 0.789 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2439, allocations: 0 / 0.789 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.244, allocations: 19.98 kB / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.2442, allocations: 8 kB / 0.7891 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.2447, allocations: 147.2 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2449, allocations: 0.6768 MB / 0.7899 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.245, allocations: 0 / 0.7899 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.245, allocations: 15.44 kB / 0.7899 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.245, allocations: 0 / 0.7899 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.2637, allocations: 1.467 MB / 0.7913 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/7.199, allocations: 19.69 kB / 0.7913 GB, free: 4.828 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)