Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",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.0009233/0.0009233, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009634/0.0009635, allocations: 168.7 kB / 15.95 MB, free: 204 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.838/1.838, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.851/1.851, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005663/0.0005664, allocations: 24.31 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2849, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006551/0.2856, allocations: 323.6 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004017/0.286, allocations: 191.5 kB / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-06/0.286, allocations: 0 / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.057e-06/0.286, allocations: 0 / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.286, allocations: 0 / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.2863, allocations: 39.91 kB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.134e-05/0.2864, allocations: 0 / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.2864, allocations: 0 / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.2864, allocations: 4 kB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.333e-05/0.2865, allocations: 3.984 kB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-06/0.2865, allocations: 0 / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.2867, allocations: 67.88 kB / 0.788 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-06/0.2867, allocations: 0 / 0.788 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.2867, allocations: 25.7 kB / 0.788 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.249e-05/0.2868, allocations: 19.95 kB / 0.7881 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.2868, allocations: 3.938 kB / 0.7881 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2868, allocations: 0 / 0.7881 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2868, allocations: 0 / 0.7881 GB, free: 11.16 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.0002642/0.2871, allocations: 331.4 kB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2871, allocations: 8.031 kB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.2872, allocations: 34.56 kB / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.957e-05/0.2872, allocations: 0 / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.963e-05/0.2873, allocations: 167 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2873, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.2873, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.834e-05/0.2874, allocations: 37.62 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2874, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.2874, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2874, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.2875, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.2876, allocations: 157.6 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.654e-05/0.2876, allocations: 14.58 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.2877, allocations: 12.89 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007129/0.2884, allocations: 461.5 kB / 0.7892 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2884, allocations: 30.56 kB / 0.7893 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2884, allocations: 0 / 0.7893 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001215/0.2885, allocations: 37.69 kB / 0.7893 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2886, allocations: 51.41 kB / 0.7893 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.854e-05/0.2886, allocations: 89.86 kB / 0.7894 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.2886, allocations: 25.7 kB / 0.7894 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.2887, allocations: 80.14 kB / 0.7895 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.2887, allocations: 8.031 kB / 0.7895 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-06/0.2887, allocations: 0 / 0.7895 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2888, allocations: 314.8 kB / 0.7898 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.2888, allocations: 7.938 kB / 0.7898 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.2888, allocations: 0 / 0.7898 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.595e-05/0.2889, allocations: 0 / 0.7898 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2889, allocations: 0 / 0.7898 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.97e-05/0.2889, allocations: 41.64 kB / 0.7899 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2889, allocations: 8.094 kB / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2889, allocations: 0 / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.289, allocations: 0 / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.702e-05/0.289, allocations: 0 / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.289, allocations: 7.938 kB / 0.7899 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-06/0.289, allocations: 0 / 0.7899 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.289, allocations: 0 / 0.7899 GB, free: 8.961 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.776e-05/0.2891, allocations: 105.8 kB / 0.79 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.2891, allocations: 11.89 kB / 0.79 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.022e-05/0.2892, allocations: 45.03 kB / 0.79 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2892, allocations: 0 / 0.79 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2892, allocations: 4 kB / 0.7901 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2892, allocations: 0 / 0.7901 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.184e-05/0.2893, allocations: 145.7 kB / 0.7902 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2893, allocations: 0 / 0.7902 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.2893, allocations: 3.984 kB / 0.7902 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2893, allocations: 7.953 kB / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.2894, allocations: 0 / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2894, allocations: 0 / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2894, allocations: 0 / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.282e-05/0.2894, allocations: 61.11 kB / 0.7903 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.2895, allocations: 89.03 kB / 0.7903 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.2895, allocations: 3.953 kB / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.662e-06/0.2895, allocations: 0 / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.2895, allocations: 0 / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.2895, allocations: 0 / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.2896, allocations: 75.28 kB / 0.7904 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2896, allocations: 4.031 kB / 0.7904 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001923/0.2898, allocations: 12 kB / 0.7904 GB, free: 8.297 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.0004163/0.2902, allocations: 0.6112 MB / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.2903, allocations: 15.92 kB / 0.791 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2903, allocations: 0 / 0.791 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.2903, allocations: 4 kB / 0.7911 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.2904, allocations: 3.953 kB / 0.7911 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.2907, allocations: 104.4 kB / 0.7912 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.2909, allocations: 0.6731 MB / 0.7918 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.246e-05/0.2909, allocations: 4.125 kB / 0.7918 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.2909, allocations: 11.44 kB / 0.7918 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2909, allocations: 0 / 0.7918 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009742/0.3007, allocations: 0.9718 MB / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.301, allocations: 191.5 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.063, allocations: 0 / 0.793 GB, free: 5.688 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: