Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, 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.001807/0.001808, allocations: 192.5 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002543/0.002544, allocations: 290.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.5069 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002773, allocations: 100.7 kB / 0.6059 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1675, allocations: 89.15 MB / 0.693 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002747/0.1703, allocations: 1.502 MB / 0.6944 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006664/0.171, allocations: 342.1 kB / 0.6948 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.171, allocations: 8 kB / 0.6948 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.1711, allocations: 3.938 kB / 0.6948 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.635e-05/0.1711, allocations: 0 / 0.6948 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.1715, allocations: 87.8 kB / 0.6949 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.1716, allocations: 16 kB / 0.6949 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.1717, allocations: 7.984 kB / 0.6949 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.1718, allocations: 15.92 kB / 0.6949 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.596e-05/0.1718, allocations: 11.98 kB / 0.6949 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.1718, allocations: 0 / 0.6949 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.172, allocations: 135.8 kB / 0.695 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.1721, allocations: 3.984 kB / 0.6951 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.1721, allocations: 11.94 kB / 0.6951 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1723, allocations: 87.75 kB / 0.6951 GB, free: 2.473 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1723, allocations: 0 / 0.6951 GB, free: 2.473 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1723, allocations: 0 / 0.6951 GB, free: 2.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1723, allocations: 0 / 0.6951 GB, free: 2.473 MB / 494.1 MB 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.0005185/0.1728, allocations: 359.7 kB / 0.6955 GB, free: 2.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1729, allocations: 8.031 kB / 0.6955 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.1729, allocations: 8.938 kB / 0.6955 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1731, allocations: 168.3 kB / 0.6957 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1731, allocations: 384 / 0.6957 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.1731, allocations: 384 / 0.6957 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1733, allocations: 50.23 kB / 0.6957 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1733, allocations: 192 / 0.6957 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1733, allocations: 3.938 kB / 0.6957 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1733, allocations: 4 kB / 0.6957 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.1735, allocations: 35.95 kB / 0.6958 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.1739, allocations: 252.8 kB / 0.696 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.174, allocations: 42.44 kB / 0.696 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/0.1741, allocations: 24.89 kB / 0.6961 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007496/0.1749, allocations: 457.5 kB / 0.6965 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.1749, allocations: 30.56 kB / 0.6965 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.1749, allocations: 3.938 kB / 0.6965 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.1753, allocations: 85.64 kB / 0.6966 GB, free: 0.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1753, allocations: 55.34 kB / 0.6967 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.1754, allocations: 105.8 kB / 0.6968 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1755, allocations: 25.7 kB / 0.6968 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.1755, allocations: 80.14 kB / 0.6969 GB, free: 424 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.1755, allocations: 3.906 kB / 0.6969 GB, free: 420 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.1756, allocations: 17.84 kB / 0.6969 GB, free: 396 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1757, allocations: 318.8 kB / 0.6972 GB, free: 68 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.1758, allocations: 15.98 kB / 0.6972 GB, free: 52 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.1759, allocations: 19.98 kB / 0.6972 GB, free: 32 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.1761, allocations: 36.81 kB / 0.6973 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1761, allocations: 4.062 kB / 0.6973 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001934/0.1763, allocations: 69.55 kB / 0.6973 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1763, allocations: 4 kB / 0.6973 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1763, allocations: 0 / 0.6973 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1763, allocations: 7.984 kB / 0.6973 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.1764, allocations: 4 kB / 0.6973 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1764, allocations: 0 / 0.6973 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.1765, allocations: 8.016 kB / 0.6974 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1765, allocations: 4 kB / 0.6974 GB, free: 15.89 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.1766, allocations: 117.8 kB / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.1766, allocations: 0 / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.1769, allocations: 68.72 kB / 0.6975 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1769, allocations: 4 kB / 0.6975 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1769, allocations: 0 / 0.6975 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1769, allocations: 8.016 kB / 0.6975 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.1771, allocations: 169.4 kB / 0.6977 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1771, allocations: 0 / 0.6977 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.1772, allocations: 15.98 kB / 0.6977 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1772, allocations: 0 / 0.6977 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1772, allocations: 0 / 0.6977 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1772, allocations: 0 / 0.6977 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1772, allocations: 0 / 0.6977 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.1774, allocations: 163.5 kB / 0.6979 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.1775, allocations: 77.11 kB / 0.698 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1775, allocations: 4.125 kB / 0.698 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.1776, allocations: 11.92 kB / 0.698 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1777, allocations: 11.98 kB / 0.698 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1777, allocations: 0 / 0.698 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.1777, allocations: 79.28 kB / 0.6981 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1777, allocations: 32 / 0.6981 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002632/0.178, allocations: 35.98 kB / 0.6981 GB, free: 15.04 MB / 0.4981 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 (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.0002601/0.1783, allocations: 131.2 kB / 0.6982 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1785, allocations: 39.97 kB / 0.6983 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1785, allocations: 0 / 0.6983 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/0.1786, allocations: 19.97 kB / 0.6983 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.1788, allocations: 11.94 kB / 0.6983 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.1791, allocations: 105.8 kB / 0.6984 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1794, allocations: 0.6768 MB / 0.699 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.1795, allocations: 7.922 kB / 0.6991 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.1795, allocations: 7.438 kB / 0.6991 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1795, allocations: 0 / 0.6991 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.003398/0.1829, allocations: 0.8339 MB / 0.6999 GB, free: 13.14 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)