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.001031/0.001031, allocations: 99.47 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.001056/0.001056, 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.687/1.687, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.751/1.751, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.0005753/0.0005755, allocations: 22.06 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2638, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002514/0.2664, allocations: 1.137 MB / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000549/0.267, allocations: 241.5 kB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.267, allocations: 0 / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.2671, allocations: 0 / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.53e-05/0.2671, allocations: 3.984 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.2675, allocations: 43.84 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.2676, allocations: 15.97 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.2677, allocations: 8 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.691e-05/0.2677, allocations: 3.938 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.2678, allocations: 11.98 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-06/0.2678, allocations: 0 / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.268, allocations: 63.88 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.268, allocations: 7.984 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.268, allocations: 25.7 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2681, allocations: 31.95 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2682, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2682, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2682, allocations: 0 / 0.7887 GB, free: 10.38 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.0005135/0.2687, allocations: 351.5 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2688, allocations: 8.031 kB / 0.789 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.2688, allocations: 0 / 0.789 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.269, allocations: 171 kB / 0.7892 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.269, allocations: 0 / 0.7892 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.269, allocations: 0 / 0.7892 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2692, allocations: 61.61 kB / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2693, allocations: 0 / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2693, allocations: 0 / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2693, allocations: 4 kB / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2695, allocations: 43.97 kB / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.2699, allocations: 256.8 kB / 0.7895 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.27, allocations: 38.56 kB / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007397/0.2707, allocations: 465.5 kB / 0.79 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2708, allocations: 34.5 kB / 0.79 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.2708, allocations: 0 / 0.79 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003817/0.2712, allocations: 97.55 kB / 0.7901 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2712, allocations: 59.41 kB / 0.7902 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.2713, allocations: 93.86 kB / 0.7903 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.2713, allocations: 25.7 kB / 0.7903 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.2714, allocations: 88.27 kB / 0.7904 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.2714, allocations: 7.891 kB / 0.7904 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.2714, allocations: 4 kB / 0.7904 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2716, allocations: 314.8 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.2716, allocations: 23.92 kB / 0.7907 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/0.2717, allocations: 23.98 kB / 0.7907 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.543e-05/0.2718, allocations: 23.97 kB / 0.7908 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2718, allocations: 0 / 0.7908 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.272, allocations: 73.73 kB / 0.7908 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2721, allocations: 8 kB / 0.7908 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2721, allocations: 0 / 0.7908 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2721, allocations: 0 / 0.7908 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.2722, allocations: 11.98 kB / 0.7908 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2722, allocations: 0 / 0.7908 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.2723, allocations: 16.02 kB / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2723, allocations: 0 / 0.7909 GB, free: 7.816 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 8.568e-05/0.2724, allocations: 113.8 kB / 0.791 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.2724, allocations: 4 kB / 0.791 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.2726, allocations: 84.72 kB / 0.7911 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2727, allocations: 0 / 0.7911 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2727, allocations: 192 / 0.7911 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2727, allocations: 0 / 0.7911 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2728, allocations: 169.5 kB / 0.7912 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2729, allocations: 0 / 0.7912 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.2729, allocations: 11.98 kB / 0.7912 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2729, allocations: 0 / 0.7912 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.2729, allocations: 0 / 0.7912 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.2729, allocations: 12.03 kB / 0.7912 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.273, allocations: 0 / 0.7912 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.2732, allocations: 175.4 kB / 0.7914 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.2733, allocations: 88.98 kB / 0.7915 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.2733, allocations: 0 / 0.7915 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.2734, allocations: 11.98 kB / 0.7915 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.2734, allocations: 3.938 kB / 0.7915 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.2734, allocations: 0 / 0.7915 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.2735, allocations: 83.28 kB / 0.7916 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2735, allocations: 0 / 0.7916 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002409/0.2737, allocations: 20 kB / 0.7916 GB, free: 6.953 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.0002132/0.2739, allocations: 119.2 kB / 0.7917 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.2742, allocations: 47.95 kB / 0.7918 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2742, allocations: 4 kB / 0.7918 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.2743, allocations: 27.92 kB / 0.7918 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.2744, allocations: 2.969 kB / 0.7918 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.2748, allocations: 116.8 kB / 0.7919 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.275, allocations: 0.677 MB / 0.7926 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.2751, allocations: 0 / 0.7926 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.2751, allocations: 11.44 kB / 0.7926 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2751, allocations: 0 / 0.7926 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of Templates: time 0.002915/0.278, allocations: 0.5662 MB / 0.7931 GB, free: 5.328 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: