Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007917/0.0007915, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.948/1.948, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005671/0.0005672, allocations: 21.47 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2887, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007167/0.2894, allocations: 323.6 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.2898, allocations: 179.5 kB / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-06/0.2898, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.2899, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-06/0.2899, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.2902, allocations: 39.91 kB / 0.7879 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.501e-05/0.2902, allocations: 4 kB / 0.7879 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.2902, allocations: 4 kB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.296e-05/0.2903, allocations: 0 / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.193e-05/0.2903, allocations: 0 / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.2903, allocations: 0 / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.2905, allocations: 63.86 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.603e-06/0.2905, allocations: 0 / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.2905, allocations: 25.7 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.988e-05/0.2906, allocations: 19.97 kB / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2906, allocations: 4 kB / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2906, allocations: 0 / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2906, allocations: 0 / 0.788 GB, free: 11.18 MB / 0.6075 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.00025/0.2909, allocations: 311.4 kB / 0.7883 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2909, allocations: 12.03 kB / 0.7884 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.291, allocations: 34.55 kB / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.557e-05/0.291, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.41e-05/0.2911, allocations: 167 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.2911, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.2911, allocations: 4 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.179e-05/0.2912, allocations: 33.64 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2912, allocations: 0 / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.2912, allocations: 0 / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2912, allocations: 0 / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.707e-05/0.2913, allocations: 0 / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.2914, allocations: 153.6 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.657e-05/0.2914, allocations: 22.52 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.2915, allocations: 16.89 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/0.2921, allocations: 449.4 kB / 0.7892 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.2921, allocations: 38.55 kB / 0.7892 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2921, allocations: 0 / 0.7892 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001169/0.2923, allocations: 37.7 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2923, allocations: 51.41 kB / 0.7893 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.258e-05/0.2923, allocations: 89.86 kB / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2924, allocations: 25.7 kB / 0.7894 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.2924, allocations: 80.14 kB / 0.7895 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.2924, allocations: 3.906 kB / 0.7895 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-06/0.2924, allocations: 0 / 0.7895 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.2925, allocations: 314.8 kB / 0.7898 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.2925, allocations: 4.125 kB / 0.7898 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-06/0.2925, allocations: 3.938 kB / 0.7898 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.419e-05/0.2926, allocations: 3.984 kB / 0.7898 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2926, allocations: 4 kB / 0.7898 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.55e-05/0.2926, allocations: 37.66 kB / 0.7899 GB, free: 9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2926, allocations: 4 kB / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2926, allocations: 0 / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2927, allocations: 0 / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.579e-05/0.2927, allocations: 4 kB / 0.7899 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2927, allocations: 96 / 0.7899 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-06/0.2927, allocations: 4 kB / 0.7899 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.2927, allocations: 0 / 0.7899 GB, free: 8.988 MB / 0.6075 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 5.623e-05/0.2928, allocations: 109.8 kB / 0.79 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.2928, allocations: 7.953 kB / 0.79 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.915e-05/0.2929, allocations: 41.05 kB / 0.79 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2929, allocations: 0 / 0.79 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2929, allocations: 0 / 0.79 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2929, allocations: 0 / 0.79 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.577e-05/0.293, allocations: 153.7 kB / 0.7902 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.293, allocations: 4 kB / 0.7902 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.293, allocations: 4 kB / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.2931, allocations: 3.953 kB / 0.7902 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2931, allocations: 0 / 0.7902 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2931, allocations: 3.938 kB / 0.7902 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2931, allocations: 0 / 0.7902 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.975e-05/0.2931, allocations: 65.06 kB / 0.7902 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.2932, allocations: 85.08 kB / 0.7903 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.2932, allocations: 3.953 kB / 0.7903 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.2932, allocations: 0 / 0.7903 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.2932, allocations: 0 / 0.7903 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2932, allocations: 7.922 kB / 0.7903 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.22e-05/0.2933, allocations: 75.28 kB / 0.7904 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2933, allocations: 4 kB / 0.7904 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001862/0.2935, allocations: 12 kB / 0.7904 GB, free: 8.312 MB / 0.6075 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.0003888/0.2938, allocations: 0.6125 MB / 0.791 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.348e-05/0.2939, allocations: 7.938 kB / 0.791 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2939, allocations: 4.094 kB / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/0.2939, allocations: 4 kB / 0.791 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.2941, allocations: 6.203 kB / 0.791 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.2943, allocations: 108.4 kB / 0.7911 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.2945, allocations: 0.6692 MB / 0.7918 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.038e-05/0.2946, allocations: 4 kB / 0.7918 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/0.2946, allocations: 7.438 kB / 0.7918 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2946, allocations: 0 / 0.7918 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.3051, allocations: 0.9579 MB / 0.7927 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.3053, allocations: 195.6 kB / 0.7929 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.077, allocations: 7.875 kB / 0.7929 GB, free: 5.711 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: