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: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 103.1 kB / 16.35 MB, free: 5.879 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.00105/0.001051, allocations: 198 kB / 17.29 MB, free: 5.516 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.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001437/0.001437, allocations: 71.91 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2172, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002568/0.2199, allocations: 1.426 MB / 0.7862 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005083/0.2204, allocations: 248 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.2204, allocations: 4 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.2204, allocations: 0 / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.2205, allocations: 3.938 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.2208, allocations: 59.81 kB / 0.7865 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.297e-05/0.2209, allocations: 27.92 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.282e-05/0.221, allocations: 4 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.221, allocations: 11.98 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.2211, allocations: 19.91 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.2211, allocations: 4 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2212, allocations: 55.89 kB / 0.7866 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.2213, allocations: 7.984 kB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.2213, allocations: 7.938 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.2214, allocations: 51.86 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2214, allocations: 4 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2214, allocations: 0 / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2215, allocations: 4 kB / 0.7867 GB, free: 1.266 MB / 0.6544 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.0004274/0.2219, allocations: 347.4 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2219, allocations: 8.031 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.222, allocations: 4.922 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2221, allocations: 164.4 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.2221, allocations: 384 / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.2221, allocations: 384 / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2223, allocations: 58.17 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2223, allocations: 192 / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2223, allocations: 3.938 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2223, allocations: 0 / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.2225, allocations: 35.97 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.2228, allocations: 252.9 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2229, allocations: 46.48 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.223, allocations: 28.83 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3889/0.6119, allocations: 453.5 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.612, allocations: 31.94 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.083e-06/0.612, allocations: 0 / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003703/0.6124, allocations: 82.23 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.6124, allocations: 54.22 kB / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.6125, allocations: 102.8 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.6125, allocations: 29.42 kB / 0.7883 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.6125, allocations: 84.7 kB / 0.7884 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.6125, allocations: 2.969 kB / 0.7884 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.6126, allocations: 14.91 kB / 0.7884 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/0.6126, allocations: 316.7 kB / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.6127, allocations: 16.47 kB / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.6128, allocations: 23 kB / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.6129, allocations: 37.34 kB / 0.7888 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6129, allocations: 0 / 0.7888 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001619/0.6131, allocations: 65.95 kB / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6131, allocations: 8.625 kB / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6131, allocations: 4.781 kB / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.6132, allocations: 0 / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.6132, allocations: 8.531 kB / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.6133, allocations: 0 / 0.7888 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.6133, allocations: 14.73 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.6133, allocations: 0 / 0.7889 GB, free: 47.71 MB / 0.6544 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 4.664e-05/0.6134, allocations: 113 kB / 0.789 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.6134, allocations: 3.328 kB / 0.789 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.6136, allocations: 74.38 kB / 0.789 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6136, allocations: 0 / 0.789 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6136, allocations: 0 / 0.789 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.6136, allocations: 0 / 0.789 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.6138, allocations: 166.1 kB / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6138, allocations: 3.234 kB / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.6138, allocations: 7.844 kB / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6138, allocations: 2.625 kB / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.6138, allocations: 3.375 kB / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6138, allocations: 1.5 kB / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6139, allocations: 0 / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.6141, allocations: 172 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.6141, allocations: 77.11 kB / 0.7894 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.6141, allocations: 3.812 kB / 0.7894 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.6142, allocations: 7.375 kB / 0.7895 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.6142, allocations: 9.141 kB / 0.7895 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.6142, allocations: 0 / 0.7895 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.104e-05/0.6143, allocations: 79.91 kB / 0.7895 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6143, allocations: 0.875 kB / 0.7895 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002412/0.6145, allocations: 13.66 kB / 0.7896 GB, free: 47.06 MB / 0.6544 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.0001673/0.6147, allocations: 120.9 kB / 0.7897 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.6149, allocations: 41.55 kB / 0.7897 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6149, allocations: 0 / 0.7897 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.615, allocations: 22.12 kB / 0.7897 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.6152, allocations: 9.75 kB / 0.7897 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.6155, allocations: 97.12 kB / 0.7898 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.244e-05/0.6156, allocations: 0.6771 MB / 0.7905 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.95e-05/0.6156, allocations: 1.375 kB / 0.7905 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.6156, allocations: 10.59 kB / 0.7905 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6156, allocations: 1.406 kB / 0.7905 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.002559/0.6182, allocations: 0.6591 MB / 0.7912 GB, free: 46.18 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.makefile (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 & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)