Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 252 MB / 267.3 MB, free: 10.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001111, allocations: 181.2 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 0.578 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008112/0.0008108, allocations: 95.66 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004628, allocations: 11.78 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006349/0.176, allocations: 330.1 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004091/0.1765, allocations: 188.8 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-06/0.1765, allocations: 0 / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.1765, allocations: 0 / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.258e-06/0.1765, allocations: 0 / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1768, allocations: 39.89 kB / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 2.688e-05/0.1768, allocations: 4 kB / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.1769, allocations: 4 kB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.356e-05/0.1769, allocations: 4 kB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.182e-05/0.1769, allocations: 0 / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.064e-06/0.1769, allocations: 0 / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1771, allocations: 63.86 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.1771, allocations: 4 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.1771, allocations: 33.64 kB / 0.9016 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.424e-05/0.1772, allocations: 35.89 kB / 0.9016 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1773, allocations: 0 / 0.9016 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1773, allocations: 0 / 0.9016 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1773, allocations: 0 / 0.9016 GB, free: 62.72 MB / 0.6042 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.0001855/0.1775, allocations: 315.6 kB / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1775, allocations: 8.031 kB / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.352e-05/0.1775, allocations: 34.75 kB / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.62e-05/0.1776, allocations: 4.938 kB / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.205e-05/0.1776, allocations: 164.4 kB / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1776, allocations: 384 / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.1776, allocations: 384 / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.1777, allocations: 30.2 kB / 0.9021 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1777, allocations: 7.938 kB / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.1777, allocations: 4 kB / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1777, allocations: 0 / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.621e-05/0.1778, allocations: 0 / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.214e-05/0.1779, allocations: 153.7 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.966e-05/0.1779, allocations: 22.61 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.1779, allocations: 4.859 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/0.1785, allocations: 453.5 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.1785, allocations: 38.5 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1785, allocations: 3.938 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000102/0.1786, allocations: 37.62 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.71e-05/0.1787, allocations: 55.41 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.506e-05/0.1787, allocations: 93.98 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.1787, allocations: 25.7 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-06/0.1787, allocations: 84.08 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.1787, allocations: 0 / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.1788, allocations: 0 / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.1788, allocations: 310.8 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-06/0.1788, allocations: 4 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.1788, allocations: 4 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.924e-05/0.1788, allocations: 12.86 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1789, allocations: 0 / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.941e-05/0.1789, allocations: 37.69 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.1789, allocations: 4 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1789, allocations: 3.938 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1789, allocations: 0 / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.461e-05/0.179, allocations: 4 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.179, allocations: 0 / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.868e-06/0.179, allocations: 0 / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.179, allocations: 0 / 0.9034 GB, free: 60.52 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.1791, allocations: 109.9 kB / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/0.1791, allocations: 3.984 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.1791, allocations: 48.7 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1791, allocations: 0 / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1791, allocations: 0 / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1792, allocations: 4 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.515e-05/0.1792, allocations: 145.7 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1792, allocations: 0 / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-05/0.1792, allocations: 4 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1792, allocations: 4.031 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.1792, allocations: 3.938 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1792, allocations: 0 / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1793, allocations: 0 / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.352e-05/0.1793, allocations: 65.06 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.1793, allocations: 77.11 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.1793, allocations: 3.938 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-06/0.1793, allocations: 4.031 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-06/0.1794, allocations: 0 / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.1794, allocations: 0 / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.115e-05/0.1794, allocations: 75.28 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1794, allocations: 7.938 kB / 0.904 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001916/0.1796, allocations: 15.94 kB / 0.904 GB, free: 59.85 MB / 0.6042 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 (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.0002834/0.1799, allocations: 0.6163 MB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.977e-05/0.1799, allocations: 11.94 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1799, allocations: 0 / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.23e-06/0.1799, allocations: 4 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.1801, allocations: 1.141 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.1803, allocations: 108.3 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.637e-05/0.1804, allocations: 0.677 MB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.378e-06/0.1804, allocations: 0 / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.052e-05/0.1804, allocations: 7.438 kB / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.1804, allocations: 0 / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009394/0.1898, allocations: 0.9752 MB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001313/0.19, allocations: 206.2 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.43/1.62, allocations: 0 / 0.9065 GB, free: 57.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)