Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 99.86 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.001302/0.001303, 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.713/1.713, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.76/1.76, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0009657/0.0009662, allocations: 19.19 kB / 0.6736 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2677, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0008872/0.2686, allocations: 321.8 kB / 0.7874 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005265/0.2692, allocations: 185.1 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.2692, allocations: 4 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.2692, allocations: 0 / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-06/0.2693, allocations: 0 / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.2697, allocations: 39.84 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.845e-05/0.2698, allocations: 3.984 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.2699, allocations: 3.984 kB / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.2699, allocations: 0 / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.2699, allocations: 3.984 kB / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.815e-06/0.2699, allocations: 4 kB / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.2702, allocations: 55.95 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.2702, allocations: 7.984 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.2702, allocations: 25.7 kB / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2703, allocations: 19.97 kB / 0.7878 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2704, allocations: 0 / 0.7878 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2704, allocations: 0 / 0.7878 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2704, allocations: 0 / 0.7878 GB, free: 11.33 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003819/0.2708, allocations: 319.4 kB / 0.7881 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.2708, allocations: 15.97 kB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.2709, allocations: 0 / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.271, allocations: 163 kB / 0.7882 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2711, allocations: 4 kB / 0.7882 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.2711, allocations: 0 / 0.7882 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2712, allocations: 33.69 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2712, allocations: 0 / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2712, allocations: 0 / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2712, allocations: 0 / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.2713, allocations: 4 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.2715, allocations: 149.7 kB / 0.7884 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.882e-05/0.2715, allocations: 22.52 kB / 0.7884 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009083/0.2725, allocations: 461.5 kB / 0.7889 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.2725, allocations: 30.56 kB / 0.7889 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.2725, allocations: 0 / 0.7889 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001555/0.2727, allocations: 37.69 kB / 0.7889 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.2727, allocations: 51.41 kB / 0.789 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.398e-05/0.2728, allocations: 97.73 kB / 0.7891 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2728, allocations: 29.7 kB / 0.7891 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.2728, allocations: 80.14 kB / 0.7892 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.2729, allocations: 7.906 kB / 0.7892 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.2729, allocations: 0 / 0.7892 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.273, allocations: 310.8 kB / 0.7895 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.273, allocations: 4.125 kB / 0.7895 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.273, allocations: 3.938 kB / 0.7895 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.754e-05/0.273, allocations: 4 kB / 0.7895 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.273, allocations: 0 / 0.7895 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.532e-05/0.2731, allocations: 37.64 kB / 0.7895 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2731, allocations: 6.812 kB / 0.7896 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2731, allocations: 0 / 0.7896 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2731, allocations: 0 / 0.7896 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.2732, allocations: 4 kB / 0.7896 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2732, allocations: 4.094 kB / 0.7896 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.2732, allocations: 0 / 0.7896 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.2732, allocations: 4 kB / 0.7896 GB, free: 9.184 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 (1): * Single equations (assignments): 1 * 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.342e-05/0.2733, allocations: 117.8 kB / 0.7897 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.2733, allocations: 3.953 kB / 0.7897 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.913e-05/0.2734, allocations: 36.81 kB / 0.7897 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2734, allocations: 0 / 0.7897 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2734, allocations: 0 / 0.7897 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2734, allocations: 4.031 kB / 0.7897 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.314e-05/0.2735, allocations: 141.7 kB / 0.7899 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2735, allocations: 3.984 kB / 0.7899 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.2736, allocations: 8 kB / 0.7899 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2736, allocations: 0 / 0.7899 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2736, allocations: 3.953 kB / 0.7899 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2736, allocations: 0 / 0.7899 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2736, allocations: 0 / 0.7899 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.273e-05/0.2736, allocations: 65.08 kB / 0.7899 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.2737, allocations: 81.38 kB / 0.79 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.2737, allocations: 0 / 0.79 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-06/0.2737, allocations: 3.953 kB / 0.79 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.2737, allocations: 0 / 0.79 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.2737, allocations: 7.938 kB / 0.79 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.274e-05/0.2738, allocations: 79.28 kB / 0.7901 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2738, allocations: 0 / 0.7901 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001896/0.274, allocations: 8 kB / 0.7901 GB, free: 8.523 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 (1): * Single equations (assignments): 1 * 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.0002188/0.2742, allocations: 127.2 kB / 0.7902 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.721e-05/0.2743, allocations: 4 kB / 0.7902 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2743, allocations: 0 / 0.7902 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.2743, allocations: 7.938 kB / 0.7902 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.788e-05/0.2744, allocations: 3.938 kB / 0.7902 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.2746, allocations: 78.88 kB / 0.7903 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.2748, allocations: 0.6731 MB / 0.791 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.357e-05/0.2748, allocations: 0 / 0.791 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.2749, allocations: 11.38 kB / 0.791 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2749, allocations: 0 / 0.791 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of Templates: time 0.002522/0.2774, allocations: 408.9 kB / 0.7914 GB, free: 7.16 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: