Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.471/1.471, allocations: 287.4 MB / 302.5 MB, free: 8.258 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.001221/0.001221, allocations: 182.2 kB / 371.1 MB, free: 10.8 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.34/1.34, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007318/0.0007318, allocations: 96.41 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004023, allocations: 16.64 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2083, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0008459/0.2092, allocations: 319.6 kB / 0.9791 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004979/0.2097, allocations: 179.6 kB / 0.9792 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.3e-05/0.2098, allocations: 0 / 0.9792 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.202e-05/0.2098, allocations: 0 / 0.9792 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.446e-06/0.2098, allocations: 4 kB / 0.9792 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.2102, allocations: 43.89 kB / 0.9793 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.2103, allocations: 4 kB / 0.9793 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.2103, allocations: 4 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.672e-05/0.2104, allocations: 0 / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.788e-05/0.2104, allocations: 3.938 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.126e-06/0.2104, allocations: 0 / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.2106, allocations: 63.86 kB / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.2106, allocations: 4 kB / 0.9793 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.2107, allocations: 25.7 kB / 0.9794 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.2108, allocations: 23.97 kB / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2108, allocations: 0 / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2108, allocations: 0 / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.2108, allocations: 0 / 0.9794 GB, free: 27.4 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002739/0.2111, allocations: 315.6 kB / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.2112, allocations: 8.031 kB / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.2112, allocations: 38.69 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.2112, allocations: 0.9375 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.792e-05/0.2113, allocations: 164.4 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2113, allocations: 4.312 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.2114, allocations: 4.375 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.3e-05/0.2115, allocations: 26.27 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2115, allocations: 3.938 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.2115, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2115, allocations: 4 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.2115, allocations: 3.984 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.2117, allocations: 141.7 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/0.2117, allocations: 30.55 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.2118, allocations: 4.859 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008323/0.2126, allocations: 453.5 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2126, allocations: 38.56 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.2126, allocations: 4 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001594/0.2128, allocations: 33.64 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.2129, allocations: 59.33 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.624e-05/0.2129, allocations: 89.86 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.2129, allocations: 25.7 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.54e-05/0.2129, allocations: 80.14 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.213, allocations: 7.906 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.213, allocations: 0 / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.2131, allocations: 318.9 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.2131, allocations: 4 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.2131, allocations: 0 / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.2131, allocations: 8.859 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2131, allocations: 0 / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.001e-05/0.2132, allocations: 29.7 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2132, allocations: 15.92 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2133, allocations: 3.938 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2133, allocations: 96 / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.2133, allocations: 4 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2134, allocations: 0 / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.2134, allocations: 0 / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2134, allocations: 7.984 kB / 0.9812 GB, free: 25.18 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 (1): * Single equations (assignments): 1 * 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 6.074e-05/0.2135, allocations: 109.8 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.2135, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.791e-05/0.2136, allocations: 49.03 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2136, allocations: 0 / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2136, allocations: 4.031 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2136, allocations: 0 / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.678e-05/0.2137, allocations: 145.7 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2137, allocations: 0 / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.2137, allocations: 0 / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2137, allocations: 7.875 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2138, allocations: 7.922 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2138, allocations: 4 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2138, allocations: 0 / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.657e-05/0.2138, allocations: 57.14 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.2139, allocations: 81.05 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2139, allocations: 3.938 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.2139, allocations: 7.984 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.2139, allocations: 0 / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.2139, allocations: 0 / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.268e-05/0.214, allocations: 75.28 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/0.214, allocations: 0 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002932/0.2143, allocations: 16 kB / 0.9818 GB, free: 24.53 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 (1): * Single equations (assignments): 1 * 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.0003854/0.2147, allocations: 0.6201 MB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.2147, allocations: 8.031 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2148, allocations: 4 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-06/0.2148, allocations: 0 / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.215, allocations: 3.984 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.2153, allocations: 108.4 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2155, allocations: 0.6731 MB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.431e-05/0.2155, allocations: 0 / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.2155, allocations: 11.42 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.2155, allocations: 4.125 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.2307, allocations: 0.9583 MB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.231, allocations: 182.5 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.017, allocations: 0 / 0.9843 GB, free: 21.95 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)