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.653/1.653, allocations: 288.4 MB / 303.3 MB, free: 8.133 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.001139/0.001139, allocations: 183.5 kB / 372 MB, free: 10.27 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.418/1.418, allocations: 205.4 MB / 0.6307 GB, free: 10 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.000797/0.000797, allocations: 86.34 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 12.75 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1998, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001435/0.2013, allocations: 1.148 MB / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004497/0.2018, allocations: 228.3 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.2018, allocations: 4 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.2019, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.2019, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.2022, allocations: 39.89 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.984e-05/0.2023, allocations: 23.92 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.99e-05/0.2024, allocations: 4 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.2024, allocations: 3.984 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.345e-05/0.2024, allocations: 11.94 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.2025, allocations: 0 / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.2026, allocations: 71.86 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.403e-06/0.2026, allocations: 4 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.2026, allocations: 25.7 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.096e-05/0.2027, allocations: 35.94 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2027, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2027, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2028, allocations: 0 / 0.9812 GB, free: 25.96 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.0003911/0.2032, allocations: 351.5 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2032, allocations: 12.02 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.2032, allocations: 42.48 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.2033, allocations: 4 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.88e-05/0.2033, allocations: 163 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2034, allocations: 0 / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2034, allocations: 4 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.2036, allocations: 53.67 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2036, allocations: 4 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.2036, allocations: 0 / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2036, allocations: 3.938 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.2038, allocations: 43.95 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.204, allocations: 256.8 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.2041, allocations: 42.59 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.2042, allocations: 28.91 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005152/0.2048, allocations: 457.5 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.2048, allocations: 34.5 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2048, allocations: 0 / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003296/0.2051, allocations: 101.5 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.2052, allocations: 59.39 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.438e-05/0.2052, allocations: 97.98 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.2052, allocations: 29.7 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.496e-05/0.2053, allocations: 80.14 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.2053, allocations: 3.906 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.2053, allocations: 8 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.2053, allocations: 318.8 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.2054, allocations: 15.98 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.2055, allocations: 27.98 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.598e-05/0.2056, allocations: 15.98 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2056, allocations: 0 / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001796/0.2058, allocations: 89.66 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2058, allocations: 4 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2058, allocations: 0 / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2058, allocations: 0 / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.2059, allocations: 11.98 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2059, allocations: 0 / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.206, allocations: 16.02 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-06/0.206, allocations: 0 / 0.9835 GB, free: 23.31 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 4.971e-05/0.206, allocations: 113.7 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.2061, allocations: 4 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.2063, allocations: 88.72 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.2063, allocations: 0 / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2063, allocations: 4 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2063, allocations: 0 / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.2064, allocations: 161.6 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2064, allocations: 0 / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.2065, allocations: 11.94 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2065, allocations: 3.984 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2065, allocations: 8.031 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2065, allocations: 0 / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2065, allocations: 192 / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.2067, allocations: 179.4 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.2068, allocations: 81.09 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2068, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.2069, allocations: 11.98 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.2069, allocations: 0 / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.2069, allocations: 4 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.258e-05/0.2069, allocations: 79.22 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2069, allocations: 3.938 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002337/0.2072, allocations: 24.03 kB / 0.9842 GB, free: 22.45 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.0004498/0.2076, allocations: 0.7203 MB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.2079, allocations: 51.95 kB / 0.985 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2079, allocations: 0 / 0.985 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.208, allocations: 23.92 kB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.2082, allocations: 9.875 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.2086, allocations: 143.4 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.2087, allocations: 0.677 MB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.2087, allocations: 4 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.2087, allocations: 7.438 kB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.2087, allocations: 0 / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.2204, allocations: 1.267 MB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/0.2206, allocations: 181.1 kB / 0.9872 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/1.75, allocations: 8.062 kB / 0.9872 GB, free: 19.35 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)