Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",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.312/1.312, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009785/0.0009789, allocations: 180.5 kB / 327 MB, free: 2.094 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.676/1.676, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0007789/0.0007789, allocations: 96.75 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003453, allocations: 9.094 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006266/0.1726, allocations: 326.1 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003752/0.173, allocations: 204.7 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-06/0.173, allocations: 0 / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.173, allocations: 4 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.928e-06/0.173, allocations: 0 / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1733, allocations: 39.89 kB / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 2.465e-05/0.1734, allocations: 0 / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.1734, allocations: 4 kB / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.078e-05/0.1734, allocations: 0 / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.665e-05/0.1734, allocations: 0 / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-06/0.1734, allocations: 4 kB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.1736, allocations: 67.88 kB / 0.9016 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.565e-06/0.1736, allocations: 7.922 kB / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.1736, allocations: 25.7 kB / 0.9016 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.935e-05/0.1737, allocations: 27.95 kB / 0.9016 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1737, allocations: 8 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1738, allocations: 0 / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1738, allocations: 4 kB / 0.9016 GB, free: 62.7 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.0001726/0.1739, allocations: 315.6 kB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.174, allocations: 8.031 kB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.463e-05/0.174, allocations: 30.75 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.174, allocations: 0.9375 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.891e-05/0.1741, allocations: 168.3 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1741, allocations: 4.375 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-06/0.1741, allocations: 384 / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.296e-05/0.1742, allocations: 30.27 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1742, allocations: 3.938 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.1742, allocations: 3.938 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1742, allocations: 3.984 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.1742, allocations: 7.984 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.018e-05/0.1743, allocations: 145.7 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.637e-05/0.1744, allocations: 22.55 kB / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.081e-05/0.1744, allocations: 4.859 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/0.175, allocations: 461.5 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.175, allocations: 34.56 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.175, allocations: 0 / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 9.707e-05/0.1751, allocations: 33.64 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.1751, allocations: 59.52 kB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.425e-05/0.1751, allocations: 89.86 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/0.1751, allocations: 29.64 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-06/0.1752, allocations: 84.14 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1752, allocations: 7.922 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.1752, allocations: 4 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.1752, allocations: 310.8 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.1753, allocations: 0 / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-06/0.1753, allocations: 4 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.004e-05/0.1753, allocations: 8.859 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1753, allocations: 0 / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.074e-05/0.1753, allocations: 33.7 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1754, allocations: 11.98 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1754, allocations: 3.938 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1754, allocations: 0 / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.39e-05/0.1754, allocations: 4 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.1754, allocations: 3.938 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.1754, allocations: 4.094 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.1754, allocations: 4 kB / 0.9035 GB, free: 60.48 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 4.024e-05/0.1755, allocations: 105.8 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-06/0.1755, allocations: 0 / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.1756, allocations: 40.75 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1756, allocations: 0 / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1756, allocations: 0 / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1756, allocations: 0 / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.553e-05/0.1756, allocations: 153.7 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1756, allocations: 0 / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.1757, allocations: 0 / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1757, allocations: 0 / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1757, allocations: 7.922 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1757, allocations: 4 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1757, allocations: 0 / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.226e-05/0.1757, allocations: 57.02 kB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.1758, allocations: 85.14 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.1758, allocations: 3.938 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.1758, allocations: 7.984 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-06/0.1758, allocations: 0 / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.1758, allocations: 0 / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.031e-05/0.1758, allocations: 79.22 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1758, allocations: 0 / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001842/0.176, allocations: 16 kB / 0.904 GB, free: 59.82 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.0002996/0.1763, allocations: 0.6124 MB / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.592e-05/0.1764, allocations: 4 kB / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1764, allocations: 96 / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-06/0.1764, allocations: 4 kB / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.1765, allocations: 7.984 kB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002043/0.1767, allocations: 108.3 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.923e-05/0.1768, allocations: 0.6692 MB / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.03e-05/0.1768, allocations: 0 / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.138e-05/0.1768, allocations: 11.42 kB / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/0.1769, allocations: 4 kB / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009332/0.1862, allocations: 0.9766 MB / 0.9064 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/0.1864, allocations: 210.3 kB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.376/1.562, allocations: 2.375 kB / 0.9066 GB, free: 57.22 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)