Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000762/0.000762, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005012/0.005012, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.604/1.604, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005044/0.0005044, allocations: 19.97 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2023, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001388/0.2038, allocations: 1.152 MB / 0.789 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005272/0.2043, allocations: 257.2 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.2043, allocations: 0 / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.2044, allocations: 0 / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.2044, allocations: 7.922 kB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.2047, allocations: 43.91 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.121e-05/0.2048, allocations: 19.98 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.2049, allocations: 7.984 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.2049, allocations: 8 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.165e-05/0.205, allocations: 11.92 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.205, allocations: 0 / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.2051, allocations: 63.88 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.2052, allocations: 4 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.2052, allocations: 37.58 kB / 0.7894 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.2054, allocations: 51.84 kB / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2054, allocations: 0 / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2054, allocations: 0 / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.2054, allocations: 0 / 0.7895 GB, free: 9.93 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.0003931/0.2058, allocations: 355.7 kB / 0.7898 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2058, allocations: 8.031 kB / 0.7898 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.2059, allocations: 4.938 kB / 0.7898 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.206, allocations: 160.4 kB / 0.79 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.206, allocations: 4.312 kB / 0.79 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.206, allocations: 4.375 kB / 0.79 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.2062, allocations: 62.17 kB / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.381e-06/0.2062, allocations: 192 / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2062, allocations: 3.938 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2062, allocations: 0 / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.2064, allocations: 47.95 kB / 0.7901 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.2067, allocations: 241 kB / 0.7903 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.2068, allocations: 46.56 kB / 0.7904 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.45e-05/0.2069, allocations: 32.83 kB / 0.7904 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005972/0.2076, allocations: 453.4 kB / 0.7908 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.2076, allocations: 34.56 kB / 0.7909 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2076, allocations: 0 / 0.7909 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000353/0.2079, allocations: 101.6 kB / 0.791 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.208, allocations: 55.44 kB / 0.791 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.2081, allocations: 101.8 kB / 0.7911 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2081, allocations: 25.7 kB / 0.7912 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.2081, allocations: 80.14 kB / 0.7912 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.2081, allocations: 7.906 kB / 0.7912 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.2082, allocations: 17.66 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.2083, allocations: 314.8 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.18e-05/0.2084, allocations: 27.92 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.2085, allocations: 19.98 kB / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2086, allocations: 48.89 kB / 0.7916 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2086, allocations: 0 / 0.7916 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002093/0.2088, allocations: 81.59 kB / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2089, allocations: 8.031 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.2089, allocations: 0 / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.2089, allocations: 0 / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.209, allocations: 11.98 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.209, allocations: 0 / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.402e-05/0.209, allocations: 15.98 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2091, allocations: 3.938 kB / 0.7918 GB, free: 7.281 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.364e-05/0.2091, allocations: 117.8 kB / 0.7919 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.2092, allocations: 4 kB / 0.7919 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.2094, allocations: 76.97 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2094, allocations: 0 / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2094, allocations: 3.984 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2094, allocations: 4.031 kB / 0.792 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.2096, allocations: 169.5 kB / 0.7921 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2096, allocations: 0 / 0.7921 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.2097, allocations: 15.98 kB / 0.7921 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2097, allocations: 3.938 kB / 0.7921 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.2097, allocations: 4 kB / 0.7921 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2097, allocations: 0 / 0.7921 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2097, allocations: 0 / 0.7921 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.2099, allocations: 179.3 kB / 0.7923 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.21, allocations: 77.11 kB / 0.7924 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.21, allocations: 4 kB / 0.7924 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.2101, allocations: 16.02 kB / 0.7924 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.2101, allocations: 0 / 0.7924 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.2101, allocations: 4 kB / 0.7924 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.2101, allocations: 75.28 kB / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2102, allocations: 0 / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002276/0.2104, allocations: 20 kB / 0.7925 GB, free: 6.422 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.2106, allocations: 119.2 kB / 0.7926 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.2108, allocations: 51.89 kB / 0.7927 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2108, allocations: 0 / 0.7927 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.2109, allocations: 28.05 kB / 0.7927 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.2111, allocations: 6.609 kB / 0.7927 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.2113, allocations: 108.7 kB / 0.7928 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.2116, allocations: 0.6731 MB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.2116, allocations: 8.047 kB / 0.7935 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.2116, allocations: 11.44 kB / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2116, allocations: 0 / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.002535/0.2142, allocations: 0.5824 MB / 0.794 GB, free: 4.781 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: