Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, 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.0009253/0.0009251, allocations: 175.4 kB / 327 MB, free: 2.086 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.549/1.549, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.000857/0.000857, allocations: 85.69 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003241, allocations: 12.72 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001543/0.1936, allocations: 1.16 MB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005243/0.1942, allocations: 248.2 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.1942, allocations: 0 / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.1943, allocations: 0 / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.1943, allocations: 7.922 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1947, allocations: 39.97 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.1947, allocations: 23.86 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.1948, allocations: 7.984 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/0.1948, allocations: 8 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.642e-05/0.1949, allocations: 15.92 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.1949, allocations: 0 / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1951, allocations: 63.88 kB / 0.9024 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.1951, allocations: 4 kB / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.1951, allocations: 29.64 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1952, allocations: 55.84 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1953, allocations: 0 / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1953, allocations: 4 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1953, allocations: 7.875 kB / 0.9025 GB, free: 61.67 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.0004126/0.1957, allocations: 343.6 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1957, allocations: 12.03 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.1958, allocations: 30.75 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.1958, allocations: 0.9375 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.762e-05/0.1959, allocations: 172.5 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1959, allocations: 384 / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1959, allocations: 4.375 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1961, allocations: 58.17 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1961, allocations: 3.938 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1961, allocations: 4 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1962, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1963, allocations: 51.95 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.1966, allocations: 241 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1967, allocations: 46.48 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.1968, allocations: 28.91 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/0.1974, allocations: 453.4 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.1974, allocations: 42.55 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.1974, allocations: 0 / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003329/0.1977, allocations: 97.73 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.1978, allocations: 51.41 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.683e-05/0.1978, allocations: 101.8 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.1979, allocations: 25.7 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.1979, allocations: 88.12 kB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.1979, allocations: 3.906 kB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.1979, allocations: 0 / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.198, allocations: 314.8 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.1981, allocations: 31.95 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.1981, allocations: 19.98 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1983, allocations: 56.88 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1983, allocations: 3.938 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001703/0.1985, allocations: 73.67 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1985, allocations: 6.656 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1985, allocations: 0 / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1985, allocations: 0 / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.1986, allocations: 15.92 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1986, allocations: 8 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1987, allocations: 11.89 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.1987, allocations: 0 / 0.9048 GB, free: 59 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 4.992e-05/0.1987, allocations: 121.8 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1988, allocations: 0 / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.199, allocations: 80.78 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.199, allocations: 3.938 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-06/0.199, allocations: 4.031 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.199, allocations: 0 / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.1991, allocations: 161.6 kB / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1991, allocations: 0 / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.1992, allocations: 15.98 kB / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1992, allocations: 0 / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1992, allocations: 0 / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1992, allocations: 0 / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1992, allocations: 0 / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1994, allocations: 179.4 kB / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.1994, allocations: 81.11 kB / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.1995, allocations: 0 / 0.9055 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1995, allocations: 12.02 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1996, allocations: 4 kB / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1996, allocations: 0 / 0.9055 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.268e-05/0.1996, allocations: 83.28 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1996, allocations: 0 / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002091/0.1998, allocations: 15.98 kB / 0.9056 GB, free: 58.16 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.0004434/0.2003, allocations: 0.7318 MB / 0.9063 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.2005, allocations: 43.95 kB / 0.9063 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2005, allocations: 4 kB / 0.9063 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.2006, allocations: 28.05 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.2008, allocations: 0 / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.2012, allocations: 138.5 kB / 0.9065 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.373e-05/0.2013, allocations: 0.6809 MB / 0.9072 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.2013, allocations: 0 / 0.9072 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.2013, allocations: 11.5 kB / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2013, allocations: 0 / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01084/0.2122, allocations: 1.265 MB / 0.9084 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.2124, allocations: 201.4 kB / 0.9086 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/1.717, allocations: 0 / 0.9086 GB, free: 55.02 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)