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.000975/0.0009751, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009535/0.0009536, allocations: 177.3 kB / 15.95 MB, free: 216 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.709/1.709, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.775/1.775, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005355/0.0005356, allocations: 20.12 kB / 0.6735 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.272, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001668/0.2737, allocations: 1.137 MB / 0.7882 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004842/0.2742, allocations: 245.5 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.2743, allocations: 4 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.2743, allocations: 0 / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.2744, allocations: 7.922 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.2746, allocations: 39.91 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.435e-05/0.2747, allocations: 19.91 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.2748, allocations: 0 / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.2748, allocations: 4 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.2749, allocations: 19.92 kB / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.2749, allocations: 0 / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2751, allocations: 67.86 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.866e-06/0.2751, allocations: 4 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.2751, allocations: 25.7 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.2752, allocations: 39.92 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2752, allocations: 0 / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2753, allocations: 0 / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2753, allocations: 0 / 0.7887 GB, free: 10.36 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.0004542/0.2757, allocations: 351.5 kB / 0.789 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2758, allocations: 8.031 kB / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.2758, allocations: 0 / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.276, allocations: 171 kB / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2761, allocations: 0 / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-06/0.2761, allocations: 3.938 kB / 0.7892 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.2763, allocations: 61.67 kB / 0.7892 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2763, allocations: 0 / 0.7892 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.2763, allocations: 0 / 0.7892 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2763, allocations: 4 kB / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.2765, allocations: 43.95 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.2768, allocations: 252.9 kB / 0.7895 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.277, allocations: 38.56 kB / 0.7896 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006828/0.2777, allocations: 465.5 kB / 0.79 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2777, allocations: 30.56 kB / 0.79 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2777, allocations: 0 / 0.79 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003617/0.2781, allocations: 105.5 kB / 0.7901 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.2781, allocations: 51.41 kB / 0.7902 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2782, allocations: 105.8 kB / 0.7903 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2783, allocations: 29.7 kB / 0.7903 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.2783, allocations: 80.14 kB / 0.7904 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.2783, allocations: 8.031 kB / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.2783, allocations: 0 / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002922/0.2786, allocations: 322.8 kB / 0.7907 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/0.2787, allocations: 19.98 kB / 0.7907 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.2788, allocations: 23.98 kB / 0.7908 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/0.2789, allocations: 19.98 kB / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2789, allocations: 0 / 0.7908 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.2791, allocations: 77.72 kB / 0.7908 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2791, allocations: 8 kB / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2791, allocations: 0 / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2792, allocations: 3.938 kB / 0.7909 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.2793, allocations: 11.98 kB / 0.7909 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.2793, allocations: 3.938 kB / 0.7909 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.2793, allocations: 11.98 kB / 0.7909 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.2793, allocations: 4.031 kB / 0.7909 GB, free: 7.781 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 0.000113/0.2795, allocations: 113.8 kB / 0.791 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.2795, allocations: 4 kB / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.2797, allocations: 72.78 kB / 0.7911 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2797, allocations: 4.031 kB / 0.7911 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2797, allocations: 4 kB / 0.7911 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2798, allocations: 3.938 kB / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.2799, allocations: 165.5 kB / 0.7912 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2799, allocations: 0 / 0.7912 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.28, allocations: 15.94 kB / 0.7913 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.28, allocations: 0 / 0.7913 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.28, allocations: 0 / 0.7913 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.28, allocations: 0 / 0.7913 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.28, allocations: 7.984 kB / 0.7913 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.2803, allocations: 167.5 kB / 0.7914 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.2803, allocations: 85 kB / 0.7915 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2804, allocations: 4.031 kB / 0.7915 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.2805, allocations: 12 kB / 0.7915 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.2805, allocations: 3.984 kB / 0.7915 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.2805, allocations: 4 kB / 0.7915 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.652e-05/0.2806, allocations: 79.28 kB / 0.7916 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2806, allocations: 0 / 0.7916 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002342/0.2808, allocations: 20 kB / 0.7916 GB, free: 6.93 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.0002276/0.281, allocations: 119.2 kB / 0.7917 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2813, allocations: 47.91 kB / 0.7918 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2813, allocations: 0 / 0.7918 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.2814, allocations: 27.97 kB / 0.7918 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.2815, allocations: 4 kB / 0.7918 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.2818, allocations: 108.8 kB / 0.7919 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.2821, allocations: 0.6848 MB / 0.7926 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.213e-05/0.2821, allocations: 0 / 0.7926 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.2822, allocations: 11.38 kB / 0.7926 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2822, allocations: 0 / 0.7926 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of Templates: time 0.002826/0.285, allocations: 0.5859 MB / 0.7932 GB, free: 5.285 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: