Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_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.349/1.349, allocations: 252 MB / 267.3 MB, free: 10.8 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.0009436/0.000944, allocations: 170.3 kB / 327 MB, free: 2.078 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.547/1.547, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0007469/0.0007471, allocations: 87.3 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 8.875 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1945, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001484/0.1961, allocations: 1.168 MB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005806/0.1967, allocations: 260.2 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.1968, allocations: 0 / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.1968, allocations: 3.938 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.1968, allocations: 0 / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.1972, allocations: 47.89 kB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.156e-05/0.1973, allocations: 27.86 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1974, allocations: 8 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.1975, allocations: 7.984 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.1975, allocations: 7.938 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.1975, allocations: 0 / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.1977, allocations: 71.86 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.1977, allocations: 0 / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.1978, allocations: 41.62 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1979, allocations: 43.92 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1979, allocations: 0 / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1979, allocations: 3.938 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.1979, allocations: 0 / 0.9025 GB, free: 61.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004192/0.1984, allocations: 347.6 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1984, allocations: 8.031 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.1985, allocations: 34.73 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.1985, allocations: 4.938 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.045e-05/0.1986, allocations: 172.5 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1986, allocations: 384 / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.1986, allocations: 384 / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1988, allocations: 62.23 kB / 0.9032 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1988, allocations: 3.938 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1988, allocations: 4 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1988, allocations: 0 / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.199, allocations: 47.95 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.1993, allocations: 241 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1994, allocations: 46.44 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.1995, allocations: 40.83 kB / 0.9035 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.2001, allocations: 453.5 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2001, allocations: 42.55 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.2001, allocations: 0 / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003398/0.2005, allocations: 93.69 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.2005, allocations: 55.39 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.2006, allocations: 101.9 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.2006, allocations: 25.7 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.2006, allocations: 80.14 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.2006, allocations: 7.906 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.2006, allocations: 0 / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.2007, allocations: 318.8 kB / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.2008, allocations: 24.02 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.2009, allocations: 19.98 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.201, allocations: 52.88 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.201, allocations: 3.938 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001723/0.2012, allocations: 77.61 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2012, allocations: 4 kB / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2012, allocations: 0 / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2012, allocations: 4.125 kB / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.2013, allocations: 15.98 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2013, allocations: 0 / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.2014, allocations: 15.89 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2014, allocations: 3.984 kB / 0.9049 GB, free: 58.84 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 (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 5.05e-05/0.2015, allocations: 117.8 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.2015, allocations: 0 / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.2017, allocations: 84.72 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2017, allocations: 4.031 kB / 0.9051 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2017, allocations: 0 / 0.9051 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2017, allocations: 3.984 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.2018, allocations: 157.6 kB / 0.9052 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2019, allocations: 4 kB / 0.9052 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.2019, allocations: 11.98 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2019, allocations: 0 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2019, allocations: 0 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2019, allocations: 0 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2019, allocations: 0 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.2021, allocations: 175.5 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.2022, allocations: 81.11 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.2022, allocations: 0 / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.2023, allocations: 12.02 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.2023, allocations: 4 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.2023, allocations: 7.938 kB / 0.9055 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.157e-05/0.2023, allocations: 83.22 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2023, allocations: 0 / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002078/0.2026, allocations: 19.98 kB / 0.9056 GB, free: 58 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 (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.0004347/0.203, allocations: 0.728 MB / 0.9063 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.2032, allocations: 51.95 kB / 0.9063 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2032, allocations: 0 / 0.9063 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.2033, allocations: 27.98 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.2035, allocations: 0 / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.2039, allocations: 146.5 kB / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.73e-05/0.204, allocations: 0.677 MB / 0.9072 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.204, allocations: 4.062 kB / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.204, allocations: 11.44 kB / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2041, allocations: 0 / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.215, allocations: 1.268 MB / 0.9084 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.2152, allocations: 199.4 kB / 0.9086 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/1.723, allocations: 2.25 kB / 0.9086 GB, free: 54.86 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)