Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001131/0.001131, allocations: 175.3 kB / 371.8 MB, free: 10.28 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.398/1.398, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0009264/0.0009264, allocations: 94.8 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004184, allocations: 21.05 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001393/0.2107, allocations: 1.137 MB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003756/0.2111, allocations: 228.3 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.2111, allocations: 0 / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.2112, allocations: 7.984 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.2112, allocations: 7.938 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.2115, allocations: 39.89 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.255e-05/0.2115, allocations: 8 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.925e-05/0.2116, allocations: 7.984 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.2117, allocations: 11.92 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.27e-05/0.2117, allocations: 11.98 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.043e-06/0.2117, allocations: 0 / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.2118, allocations: 63.89 kB / 0.9809 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/0.2118, allocations: 3.984 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.2119, allocations: 29.7 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.083e-05/0.212, allocations: 31.94 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.212, allocations: 0 / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/0.212, allocations: 0 / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.212, allocations: 4 kB / 0.981 GB, free: 26 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003424/0.2123, allocations: 343.5 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2124, allocations: 20.02 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.2124, allocations: 30.56 kB / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.132e-05/0.2124, allocations: 0 / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.468e-05/0.2125, allocations: 171 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.2125, allocations: 4 kB / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.2126, allocations: 0 / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.2127, allocations: 53.67 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2127, allocations: 4 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.2128, allocations: 0 / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2128, allocations: 0 / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.2129, allocations: 39.97 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.2132, allocations: 264.8 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.2133, allocations: 38.56 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/0.2138, allocations: 465.5 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.2139, allocations: 30.56 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2139, allocations: 3.938 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003309/0.2142, allocations: 105.5 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.2142, allocations: 51.41 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.112e-05/0.2143, allocations: 105.8 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.2143, allocations: 25.7 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.2143, allocations: 80.14 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.2144, allocations: 3.906 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.2144, allocations: 0 / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.2144, allocations: 330.9 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-05/0.2145, allocations: 15.98 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.2146, allocations: 23.98 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.2147, allocations: 20.05 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2147, allocations: 0 / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.2149, allocations: 73.66 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2149, allocations: 12.03 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2149, allocations: 0 / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2149, allocations: 3.938 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.215, allocations: 15.98 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.215, allocations: 0 / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.2151, allocations: 11.98 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.2151, allocations: 0 / 0.9833 GB, free: 23.39 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 (2): * Single equations (assignments): 2 * 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 5.28e-05/0.2151, allocations: 121.7 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.2151, allocations: 0 / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.2154, allocations: 80.78 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2154, allocations: 0 / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2154, allocations: 4 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2154, allocations: 4.031 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.2155, allocations: 161.6 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2155, allocations: 0 / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.2156, allocations: 15.92 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2156, allocations: 0 / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2156, allocations: 0 / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2156, allocations: 3.938 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2156, allocations: 0 / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.2158, allocations: 179.4 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.2158, allocations: 77.11 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.2159, allocations: 4 kB / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.2159, allocations: 16.02 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.216, allocations: 0 / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.216, allocations: 0 / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.006e-05/0.216, allocations: 79.28 kB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.216, allocations: 0 / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002352/0.2162, allocations: 15.94 kB / 0.984 GB, free: 22.54 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 (2): * Single equations (assignments): 2 * 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.0004387/0.2167, allocations: 0.7329 MB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.2169, allocations: 51.95 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2169, allocations: 0 / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.217, allocations: 28.05 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.2171, allocations: 0.6875 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.2175, allocations: 142.3 kB / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.2176, allocations: 0.677 MB / 0.9856 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.2176, allocations: 4 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.2177, allocations: 11.44 kB / 0.9856 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2177, allocations: 4.062 kB / 0.9856 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.2296, allocations: 1.258 MB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.2298, allocations: 181.3 kB / 0.987 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/1.743, allocations: 3.938 kB / 0.987 GB, free: 19.43 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)