Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009043/0.0009043, allocations: 192 kB / 16.25 MB, free: 6.625 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.135/1.135, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.478/1.478, allocations: 292.2 MB / 0.5485 GB, free: 13.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.001215/0.001215, allocations: 70.92 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.165, allocations: 114.5 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001703/0.1667, allocations: 0.6432 MB / 0.7835 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003598/0.1671, allocations: 183.4 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-06/0.1671, allocations: 4 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.1671, allocations: 0 / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.1672, allocations: 0 / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1675, allocations: 39.92 kB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.847e-05/0.1675, allocations: 7.922 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.1675, allocations: 7.984 kB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.111e-05/0.1676, allocations: 7.938 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.388e-05/0.1676, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-06/0.1676, allocations: 0 / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1677, allocations: 67.88 kB / 0.7838 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.191e-06/0.1677, allocations: 4 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.235e-05/0.1678, allocations: 0 / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.679e-05/0.1679, allocations: 35.89 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1679, allocations: 0 / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1679, allocations: 0 / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1679, allocations: 3.984 kB / 0.7838 GB, free: 12.91 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.0002309/0.1681, allocations: 315.6 kB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.1681, allocations: 8.031 kB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.1682, allocations: 4.938 kB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.1683, allocations: 164.4 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1683, allocations: 8.375 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-06/0.1683, allocations: 384 / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.526e-05/0.1683, allocations: 26.27 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1684, allocations: 192 / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1684, allocations: 3.938 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1684, allocations: 3.938 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.619e-05/0.1684, allocations: 4 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.1685, allocations: 145.6 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.762e-05/0.1686, allocations: 30.59 kB / 0.7845 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.1686, allocations: 4.859 kB / 0.7845 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006378/0.1692, allocations: 445.5 kB / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1693, allocations: 34.56 kB / 0.785 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.1693, allocations: 4 kB / 0.785 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001119/0.1694, allocations: 45.56 kB / 0.785 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1694, allocations: 51.41 kB / 0.7851 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.03e-05/0.1695, allocations: 89.86 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.1695, allocations: 25.7 kB / 0.7852 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.1695, allocations: 80.14 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1695, allocations: 3.906 kB / 0.7853 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.1696, allocations: 13.72 kB / 0.7853 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1697, allocations: 319 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-06/0.1697, allocations: 0 / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.1697, allocations: 4 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.1697, allocations: 4.859 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1697, allocations: 0 / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.956e-05/0.1698, allocations: 41.62 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1698, allocations: 4 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1698, allocations: 0 / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1698, allocations: 11.97 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.243e-05/0.1699, allocations: 4 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1699, allocations: 3.984 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-06/0.1699, allocations: 0 / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.1699, allocations: 0 / 0.7857 GB, free: 10.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.17, allocations: 110.5 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-06/0.17, allocations: 0 / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.17, allocations: 40.75 kB / 0.7858 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1701, allocations: 8.031 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1701, allocations: 0 / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1701, allocations: 3.938 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.586e-05/0.1701, allocations: 145.7 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1702, allocations: 4 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/0.1702, allocations: 11.92 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1702, allocations: 0 / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1702, allocations: 3.938 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1702, allocations: 0 / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1702, allocations: 0 / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.333e-05/0.1703, allocations: 61.12 kB / 0.786 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.1703, allocations: 81.39 kB / 0.7861 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-06/0.1703, allocations: 3.938 kB / 0.7861 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-06/0.1703, allocations: 0 / 0.7861 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-06/0.1703, allocations: 0 / 0.7861 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.1703, allocations: 0 / 0.7861 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.038e-05/0.1704, allocations: 75.28 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.1704, allocations: 0 / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001853/0.1705, allocations: 20.03 kB / 0.7862 GB, free: 10.07 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 (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.000175/0.1707, allocations: 130 kB / 0.7863 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.699e-05/0.1708, allocations: 4 kB / 0.7863 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1708, allocations: 0 / 0.7863 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-06/0.1708, allocations: 4.062 kB / 0.7863 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.1709, allocations: 7.938 kB / 0.7863 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001342/0.1711, allocations: 84.92 kB / 0.7864 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1713, allocations: 0.669 MB / 0.7871 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.268e-06/0.1713, allocations: 0 / 0.7871 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.244e-05/0.1713, allocations: 11.44 kB / 0.7871 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1713, allocations: 0 / 0.7871 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of Templates: time 0.001799/0.1731, allocations: 401.5 kB / 0.7875 GB, free: 8.707 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)