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.001075/0.001075, allocations: 109.4 kB / 15.69 MB, free: 128 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.001209/0.001209, allocations: 186 kB / 16.62 MB, free: 6.613 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.686/1.686, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001914/0.001914, allocations: 68.25 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2107, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002669/0.2134, allocations: 1.429 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.2139, allocations: 240.1 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.2139, allocations: 0 / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.417e-05/0.2139, allocations: 3.938 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.214, allocations: 0 / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.2143, allocations: 63.81 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.317e-05/0.2144, allocations: 23.92 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.844e-05/0.2145, allocations: 4 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.2145, allocations: 11.98 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.2146, allocations: 7.922 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.2146, allocations: 8 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.2147, allocations: 63.88 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.2147, allocations: 4 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.2148, allocations: 7.922 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.2149, allocations: 55.86 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2149, allocations: 4 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2149, allocations: 0 / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.2149, allocations: 0 / 0.7855 GB, free: 11.33 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.0004166/0.2154, allocations: 351.7 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2154, allocations: 8.031 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.2154, allocations: 30.75 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.2155, allocations: 8.875 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2156, allocations: 164.4 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.2156, allocations: 384 / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2156, allocations: 4.375 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2158, allocations: 50.17 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2158, allocations: 3.938 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2158, allocations: 4 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2158, allocations: 4 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.216, allocations: 27.97 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.2163, allocations: 252.9 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.2164, allocations: 38.5 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.121e-05/0.2165, allocations: 28.84 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005905/0.2171, allocations: 453.5 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.2171, allocations: 38.56 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.2172, allocations: 0 / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003337/0.2175, allocations: 81.64 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.2175, allocations: 55.41 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.308e-05/0.2176, allocations: 97.8 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.2176, allocations: 25.7 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.2177, allocations: 88.12 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.2177, allocations: 8.031 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.2177, allocations: 17.66 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.2178, allocations: 314.8 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.2179, allocations: 15.98 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.218, allocations: 19.97 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2182, allocations: 40.89 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2182, allocations: 3.938 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.2184, allocations: 61.66 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2184, allocations: 8 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2184, allocations: 0 / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2184, allocations: 0 / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.2185, allocations: 7.984 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2185, allocations: 7.938 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.2186, allocations: 4.031 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2186, allocations: 4 kB / 0.7877 GB, free: 8.719 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.388e-05/0.2187, allocations: 121.7 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.2187, allocations: 3.906 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.2189, allocations: 68.78 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2189, allocations: 0 / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2189, allocations: 4.031 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2189, allocations: 0 / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.2191, allocations: 157.6 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2191, allocations: 3.938 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.2192, allocations: 12.17 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2192, allocations: 0 / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.2192, allocations: 0 / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2192, allocations: 0 / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2192, allocations: 7.922 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.2194, allocations: 167.5 kB / 0.7882 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.2195, allocations: 81.11 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.2195, allocations: 3.984 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.2196, allocations: 4 kB / 0.7883 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.2196, allocations: 4 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2196, allocations: 11.92 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.2197, allocations: 83.31 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2197, allocations: 0 / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002587/0.22, allocations: 12 kB / 0.7884 GB, free: 7.887 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.0005966/0.2206, allocations: 0.7202 MB / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.2208, allocations: 31.97 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2208, allocations: 0 / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.2209, allocations: 23.97 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.2211, allocations: 4.125 kB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.2216, allocations: 151 kB / 0.7893 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.2218, allocations: 0.6768 MB / 0.79 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.2218, allocations: 0 / 0.79 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.2218, allocations: 15.44 kB / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2218, allocations: 0 / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.2381, allocations: 1.491 MB / 0.7915 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.844, allocations: 11.17 kB / 0.7915 GB, free: 4.738 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)