Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.387/1.387, allocations: 288.4 MB / 303.6 MB, free: 8.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007973/0.0007972, allocations: 184.3 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.4 MB / 0.631 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006495/0.0006495, allocations: 98.23 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 12.88 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1659, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001276/0.1672, allocations: 1.145 MB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003922/0.1677, allocations: 236.3 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.1677, allocations: 0 / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.1677, allocations: 7.922 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.173e-05/0.1678, allocations: 0 / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1681, allocations: 43.91 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.901e-05/0.1681, allocations: 19.92 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.1682, allocations: 8 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.042e-05/0.1683, allocations: 11.98 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.38e-05/0.1683, allocations: 7.922 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.1683, allocations: 4 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1684, allocations: 59.89 kB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.1685, allocations: 3.984 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.1685, allocations: 33.64 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.798e-05/0.1686, allocations: 31.94 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1686, allocations: 0 / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1686, allocations: 0 / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1686, allocations: 4 kB / 0.9818 GB, free: 25.64 MB / 0.6198 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.0003548/0.169, allocations: 347.7 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.169, allocations: 12.02 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.492e-05/0.1691, allocations: 34.75 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.1691, allocations: 4.938 kB / 0.9821 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.38e-05/0.1692, allocations: 160.4 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.1692, allocations: 8.375 kB / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1692, allocations: 384 / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1694, allocations: 54.23 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1694, allocations: 3.938 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1694, allocations: 3.938 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1694, allocations: 0 / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1696, allocations: 51.89 kB / 0.9824 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.1698, allocations: 241 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1699, allocations: 50.5 kB / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.945e-05/0.17, allocations: 28.89 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/0.1705, allocations: 457.4 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.1705, allocations: 34.5 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1706, allocations: 0 / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003291/0.1709, allocations: 101.7 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.1709, allocations: 51.41 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.801e-05/0.171, allocations: 101.8 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.171, allocations: 29.64 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.171, allocations: 80.14 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.171, allocations: 7.906 kB / 0.9835 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1711, allocations: 0 / 0.9835 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.1711, allocations: 322.9 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.1712, allocations: 19.98 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.1713, allocations: 20.86 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1714, allocations: 52.83 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1714, allocations: 3.938 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001732/0.1716, allocations: 77.66 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1716, allocations: 8 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1716, allocations: 0 / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1717, allocations: 0 / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.1717, allocations: 11.98 kB / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1718, allocations: 0 / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.1718, allocations: 11.98 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-06/0.1718, allocations: 4.031 kB / 0.984 GB, free: 22.97 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.1719, allocations: 121.7 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.1719, allocations: 4 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.1721, allocations: 76.72 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1721, allocations: 8.031 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1721, allocations: 0 / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1721, allocations: 0 / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.1722, allocations: 161.6 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1723, allocations: 3.938 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.1723, allocations: 12.19 kB / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1723, allocations: 0 / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1723, allocations: 7.984 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1723, allocations: 0 / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1723, allocations: 11.98 kB / 0.9844 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.1725, allocations: 175.3 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.1726, allocations: 77.11 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.1726, allocations: 4.031 kB / 0.9847 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.1727, allocations: 8 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1727, allocations: 7.984 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1727, allocations: 0 / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.005e-05/0.1727, allocations: 79.28 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1727, allocations: 0 / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002092/0.173, allocations: 20 kB / 0.9848 GB, free: 22.11 MB / 0.6198 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 (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.0004047/0.1734, allocations: 0.728 MB / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1736, allocations: 51.89 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1736, allocations: 0 / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.1737, allocations: 28.05 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1739, allocations: 0 / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.1742, allocations: 146.3 kB / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.484e-05/0.1743, allocations: 0.677 MB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.1743, allocations: 4.062 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.1744, allocations: 15.44 kB / 0.9864 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1744, allocations: 3.938 kB / 0.9864 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4927/0.6671, allocations: 1.248 MB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.6673, allocations: 186.7 kB / 0.9878 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.558, allocations: 0 / 0.9878 GB, free: 19.01 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)