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.001126/0.001127, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.127/1.127, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.472/1.472, allocations: 292.3 MB / 0.5488 GB, free: 12.87 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.001262/0.001262, allocations: 70.95 kB / 0.6715 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1617, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001496/0.1632, allocations: 0.5745 MB / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003451/0.1636, allocations: 187.4 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-06/0.1636, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.256e-06/0.1636, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.717e-06/0.1636, allocations: 4 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1639, allocations: 51.83 kB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.691e-05/0.164, allocations: 7.938 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.854e-05/0.164, allocations: 7.984 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-06/0.164, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.307e-05/0.164, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-06/0.164, allocations: 0 / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1642, allocations: 51.95 kB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-06/0.1642, allocations: 0 / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.183e-05/0.1642, allocations: 3.984 kB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.488e-05/0.1643, allocations: 35.89 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1643, allocations: 4 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1643, allocations: 0 / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.1643, allocations: 0 / 0.7843 GB, free: 12.56 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.0002079/0.1645, allocations: 323.5 kB / 0.7846 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.617e-05/0.1646, allocations: 8.031 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.965e-05/0.1646, allocations: 0.9375 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.557e-05/0.1646, allocations: 160.4 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.1647, allocations: 8.359 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.1647, allocations: 4.375 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.497e-05/0.1647, allocations: 30.27 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1648, allocations: 192 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1648, allocations: 11.86 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.1648, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.51e-05/0.1648, allocations: 4 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.541e-05/0.1649, allocations: 145.6 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.127e-05/0.1649, allocations: 18.58 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.1649, allocations: 8.953 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005605/0.1655, allocations: 457.5 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.1655, allocations: 34.56 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1656, allocations: 0 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 9.093e-05/0.1656, allocations: 41.58 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.1657, allocations: 55.53 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.501e-05/0.1657, allocations: 89.86 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.1657, allocations: 25.7 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.749e-05/0.1657, allocations: 80.14 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.1658, allocations: 3.906 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.1658, allocations: 17.7 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.1659, allocations: 310.8 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-06/0.1659, allocations: 0 / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-06/0.1659, allocations: 8 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.987e-05/0.1659, allocations: 8.859 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1659, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.23e-05/0.166, allocations: 33.64 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.166, allocations: 8 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.166, allocations: 3.984 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.166, allocations: 3.938 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.649e-05/0.166, allocations: 0 / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.166, allocations: 4.078 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-06/0.1661, allocations: 8 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.1661, allocations: 0 / 0.7861 GB, free: 10.37 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 4.506e-05/0.1661, allocations: 105.8 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-06/0.1661, allocations: 0 / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.1662, allocations: 44.75 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1662, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1662, allocations: 7.938 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1662, allocations: 3.938 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.748e-05/0.1663, allocations: 145.7 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1663, allocations: 7.938 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-06/0.1663, allocations: 0 / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1663, allocations: 4 kB / 0.7864 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.1663, allocations: 3.938 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1663, allocations: 3.984 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1663, allocations: 0 / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.782e-05/0.1664, allocations: 57.14 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.1664, allocations: 77.39 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-06/0.1664, allocations: 7.938 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/0.1664, allocations: 0 / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-06/0.1665, allocations: 3.984 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-06/0.1665, allocations: 0 / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.762e-05/0.1665, allocations: 75.28 kB / 0.7866 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1665, allocations: 0 / 0.7866 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001873/0.1667, allocations: 12 kB / 0.7866 GB, free: 9.711 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.0001567/0.1668, allocations: 131.2 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.8e-05/0.1669, allocations: 8 kB / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1669, allocations: 0 / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-06/0.1669, allocations: 0 / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.167, allocations: 4.875 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001155/0.1671, allocations: 85.06 kB / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.1673, allocations: 0.6729 MB / 0.7875 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.504e-06/0.1673, allocations: 0 / 0.7875 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-06/0.1673, allocations: 7.438 kB / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1673, allocations: 0 / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.001766/0.1691, allocations: 413.4 kB / 0.7879 GB, free: 8.34 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)