Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.499/1.499, allocations: 288.4 MB / 303.6 MB, free: 8.109 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.0008905/0.0008905, allocations: 177.6 kB / 372.3 MB, free: 10.09 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.451/1.451, allocations: 205.4 MB / 0.631 GB, free: 9.84 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.0007284/0.0007287, allocations: 97.38 kB / 0.7444 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005004, allocations: 13.91 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2825, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0008899/0.2835, allocations: 315.8 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004727/0.284, allocations: 179.6 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.284, allocations: 4 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.2841, allocations: 0 / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.08e-05/0.2841, allocations: 3.938 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.2845, allocations: 43.89 kB / 0.9807 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.833e-05/0.2846, allocations: 8 kB / 0.9807 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.075e-05/0.2847, allocations: 0 / 0.9807 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.949e-05/0.2847, allocations: 0 / 0.9807 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.2847, allocations: 0 / 0.9807 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.2848, allocations: 0 / 0.9807 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.285, allocations: 63.86 kB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.285, allocations: 8 kB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.285, allocations: 29.7 kB / 0.9808 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.62e-05/0.2851, allocations: 15.97 kB / 0.9808 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2851, allocations: 0 / 0.9808 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2851, allocations: 0 / 0.9808 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2851, allocations: 0 / 0.9808 GB, free: 26.54 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.0002963/0.2854, allocations: 315.6 kB / 0.9811 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.2855, allocations: 12.03 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.2855, allocations: 30.75 kB / 0.9812 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.2856, allocations: 12.92 kB / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.2857, allocations: 160.4 kB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.2857, allocations: 384 / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.2857, allocations: 384 / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.2858, allocations: 30.27 kB / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2858, allocations: 3.938 kB / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2859, allocations: 0 / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2859, allocations: 0 / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.2859, allocations: 0 / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.286, allocations: 165.6 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.895e-05/0.2861, allocations: 18.58 kB / 0.9816 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.2861, allocations: 4.859 kB / 0.9816 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000728/0.2868, allocations: 461.5 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.2869, allocations: 34.56 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2869, allocations: 0 / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.287, allocations: 41.58 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.287, allocations: 59.28 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.74e-05/0.2871, allocations: 89.86 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.2871, allocations: 29.7 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.368e-05/0.2871, allocations: 80.14 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.2871, allocations: 4.031 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.2871, allocations: 4 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.2872, allocations: 314.8 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-06/0.2872, allocations: 0 / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.2872, allocations: 8 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/0.2873, allocations: 4.859 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2873, allocations: 0 / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.069e-05/0.2873, allocations: 37.64 kB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2873, allocations: 9.656 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2873, allocations: 3.938 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2874, allocations: 0 / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.153e-05/0.2874, allocations: 0 / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2874, allocations: 7.984 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-06/0.2874, allocations: 0 / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.2874, allocations: 0 / 0.9827 GB, free: 24.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 (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.377e-05/0.2875, allocations: 111.1 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.2875, allocations: 0 / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.2876, allocations: 45.05 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2876, allocations: 0 / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2876, allocations: 4 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2876, allocations: 7.922 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.611e-05/0.2877, allocations: 141.7 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.2877, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.2877, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.2877, allocations: 4 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2877, allocations: 3.938 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2877, allocations: 0 / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2877, allocations: 0 / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.962e-05/0.2878, allocations: 61.16 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.2878, allocations: 85.05 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.2878, allocations: 3.938 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-06/0.2879, allocations: 3.984 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.2879, allocations: 3.938 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.2879, allocations: 0 / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.481e-05/0.2879, allocations: 75.31 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2879, allocations: 4 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001911/0.2881, allocations: 15.98 kB / 0.9832 GB, free: 23.66 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.0003771/0.2885, allocations: 0.6202 MB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.9e-05/0.2886, allocations: 8 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2886, allocations: 0 / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.261e-06/0.2886, allocations: 4 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.2887, allocations: 5.312 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.289, allocations: 106.2 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.2891, allocations: 0.6692 MB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.265e-05/0.2891, allocations: 12.12 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.2891, allocations: 7.438 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2892, allocations: 0 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.3011, allocations: 0.9475 MB / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.3013, allocations: 202 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.065, allocations: 4 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)