Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.0007773/0.0007773, allocations: 92.16 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.0008294/0.0008295, 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.486/1.486, allocations: 205.4 MB / 222.1 MB, free: 5.48 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.95/1.95, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005478/0.0005479, allocations: 14.44 kB / 0.6738 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2979, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001559/0.2995, allocations: 1.148 MB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004751/0.3, allocations: 237.4 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.3, allocations: 7.938 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.3, allocations: 0 / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.3001, allocations: 0 / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.3004, allocations: 47.89 kB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.3005, allocations: 23.92 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.465e-05/0.3006, allocations: 4 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.669e-05/0.3006, allocations: 3.984 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.3007, allocations: 11.94 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.3007, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3008, allocations: 71.86 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.3008, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.3009, allocations: 25.7 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.126e-05/0.301, allocations: 39.94 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.301, allocations: 0 / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.301, allocations: 0 / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.301, allocations: 0 / 0.789 GB, free: 10.22 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004773/0.3015, allocations: 351.5 kB / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3015, allocations: 11.97 kB / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.3016, allocations: 34.5 kB / 0.7893 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.3016, allocations: 4 kB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.3018, allocations: 171 kB / 0.7895 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3018, allocations: 0 / 0.7895 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.3018, allocations: 8 kB / 0.7895 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.302, allocations: 53.67 kB / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.302, allocations: 0 / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.302, allocations: 0 / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.302, allocations: 0 / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.3022, allocations: 47.95 kB / 0.7896 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.3026, allocations: 248.8 kB / 0.7899 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3027, allocations: 46.59 kB / 0.7899 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.3028, allocations: 28.91 kB / 0.7899 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007186/0.3035, allocations: 465.4 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3036, allocations: 34.56 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3036, allocations: 0 / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.3039, allocations: 101.5 kB / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.304, allocations: 51.41 kB / 0.7906 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.3041, allocations: 105.8 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3041, allocations: 25.7 kB / 0.7907 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.3041, allocations: 80.14 kB / 0.7908 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.3042, allocations: 12.03 kB / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.3042, allocations: 0 / 0.7908 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3043, allocations: 318.8 kB / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.3044, allocations: 19.98 kB / 0.7911 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.3045, allocations: 23.97 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.348e-05/0.3046, allocations: 24.05 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3046, allocations: 0 / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001913/0.3048, allocations: 81.59 kB / 0.7912 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3048, allocations: 8 kB / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3048, allocations: 0 / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3048, allocations: 0 / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.3049, allocations: 8 kB / 0.7912 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3049, allocations: 3.938 kB / 0.7912 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.305, allocations: 11.98 kB / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.305, allocations: 0 / 0.7912 GB, free: 7.57 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 (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 7.485e-05/0.3051, allocations: 117.8 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.3051, allocations: 4 kB / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.3053, allocations: 84.7 kB / 0.7914 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3054, allocations: 8.031 kB / 0.7914 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3054, allocations: 0 / 0.7914 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3054, allocations: 0 / 0.7914 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.3055, allocations: 161.6 kB / 0.7916 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3055, allocations: 0 / 0.7916 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.3056, allocations: 11.98 kB / 0.7916 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3056, allocations: 0 / 0.7916 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.3056, allocations: 0 / 0.7916 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3056, allocations: 0 / 0.7916 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3056, allocations: 4 kB / 0.7916 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.3059, allocations: 179.6 kB / 0.7918 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.3059, allocations: 77.11 kB / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.306, allocations: 3.984 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.306, allocations: 16.02 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.3061, allocations: 4 kB / 0.7919 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3061, allocations: 0 / 0.7919 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.3061, allocations: 91.2 kB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3061, allocations: 0 / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002292/0.3064, allocations: 20 kB / 0.792 GB, free: 6.703 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 (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.0006161/0.307, allocations: 0.7203 MB / 0.7927 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3072, allocations: 43.97 kB / 0.7927 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3072, allocations: 0 / 0.7927 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/0.3073, allocations: 31.98 kB / 0.7928 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.3075, allocations: 0 / 0.7928 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.308, allocations: 150.3 kB / 0.7929 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3083, allocations: 0.6731 MB / 0.7936 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.683e-05/0.3083, allocations: 4.062 kB / 0.7936 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.3084, allocations: 15.42 kB / 0.7936 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3084, allocations: 0 / 0.7936 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.3232, allocations: 1.253 MB / 0.7948 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.3234, allocations: 171.5 kB / 0.795 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.287, allocations: 0 / 0.795 GB, free: 3.598 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: