Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.687/1.687, allocations: 288.4 MB / 303.3 MB, free: 8.102 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.001048/0.001049, allocations: 179 kB / 372 MB, free: 10.21 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.492/1.492, allocations: 205.4 MB / 0.6307 GB, free: 9.941 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.0007556/0.0007557, allocations: 88.27 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 17.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0005954/0.2069, allocations: 315.8 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003422/0.2073, allocations: 171.7 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-06/0.2073, allocations: 0 / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.218e-06/0.2073, allocations: 4 kB / 0.9801 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.2073, allocations: 0 / 0.9801 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.2076, allocations: 43.83 kB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.164e-05/0.2077, allocations: 0 / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.2077, allocations: 0 / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.2077, allocations: 0 / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.17e-05/0.2077, allocations: 0 / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.102e-06/0.2078, allocations: 4 kB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.2079, allocations: 59.88 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.733e-06/0.2079, allocations: 4 kB / 0.9802 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.208, allocations: 29.7 kB / 0.9803 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.08e-05/0.208, allocations: 23.95 kB / 0.9803 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.208, allocations: 0 / 0.9803 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2081, allocations: 0 / 0.9803 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2081, allocations: 0 / 0.9803 GB, free: 26.89 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.0001871/0.2083, allocations: 317 kB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2083, allocations: 12.02 kB / 0.9806 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.2083, allocations: 38.55 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.2084, allocations: 0 / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.821e-05/0.2084, allocations: 167 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2084, allocations: 4 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-06/0.2084, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.311e-05/0.2085, allocations: 25.7 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2085, allocations: 4 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-06/0.2085, allocations: 0 / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2085, allocations: 0 / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.47e-05/0.2086, allocations: 3.938 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.606e-05/0.2087, allocations: 153.6 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.896e-05/0.2087, allocations: 30.53 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.116e-05/0.2087, allocations: 4.859 kB / 0.981 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/0.2093, allocations: 449.5 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.2093, allocations: 38.55 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2093, allocations: 4 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001049/0.2094, allocations: 29.7 kB / 0.9815 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.2095, allocations: 59.34 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.467e-05/0.2095, allocations: 89.86 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-06/0.2095, allocations: 29.64 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.826e-06/0.2095, allocations: 80.14 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.2095, allocations: 3.906 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-06/0.2095, allocations: 0 / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.2096, allocations: 319 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.2096, allocations: 0 / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.2096, allocations: 7.984 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.316e-05/0.2096, allocations: 0 / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2096, allocations: 0 / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.71e-05/0.2097, allocations: 33.66 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2097, allocations: 8 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2097, allocations: 0 / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.2097, allocations: 0 / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-05/0.2098, allocations: 4.094 kB / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2098, allocations: 0 / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-06/0.2098, allocations: 0 / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.2098, allocations: 7.938 kB / 0.9821 GB, free: 24.7 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 3.889e-05/0.2098, allocations: 109.8 kB / 0.9822 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.2098, allocations: 3.953 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/0.2099, allocations: 37.11 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2099, allocations: 0 / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2099, allocations: 32 / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2099, allocations: 8 kB / 0.9823 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.584e-05/0.21, allocations: 145.7 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.21, allocations: 0 / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.21, allocations: 0 / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.21, allocations: 3.953 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.21, allocations: 8 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.21, allocations: 0 / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.21, allocations: 0 / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.355e-05/0.2101, allocations: 65.06 kB / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.2101, allocations: 81.05 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.2101, allocations: 11.89 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.2102, allocations: 0 / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-06/0.2102, allocations: 0 / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.2102, allocations: 0 / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.062e-05/0.2102, allocations: 79.22 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2102, allocations: 0 / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002014/0.2104, allocations: 16 kB / 0.9827 GB, free: 24.04 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.0002641/0.2107, allocations: 0.6125 MB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.507e-05/0.2107, allocations: 8.031 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2107, allocations: 4 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/0.2108, allocations: 0 / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.2109, allocations: 7.953 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.2111, allocations: 108.4 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.939e-05/0.2112, allocations: 0.6692 MB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.848e-06/0.2112, allocations: 0 / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.026e-05/0.2112, allocations: 7.438 kB / 0.984 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2112, allocations: 0 / 0.984 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.226, allocations: 0.9741 MB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.2262, allocations: 203.3 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/1.707, allocations: 0 / 0.9852 GB, free: 21.46 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)